OOP program example

This is a discussion on OOP program example within the C++ Programming forums, part of the General Programming Boards category; Hello.. Is there any source available with not too much code, that shows what is the RIGHT/smart use of OOP ...

  1. #1
    l2u
    l2u is offline
    Registered User
    Join Date
    May 2006
    Posts
    630

    OOP program example

    Hello..

    Is there any source available with not too much code, that shows what is the RIGHT/smart use of OOP and could be a great example for good c++ program which includes c++ headers, cast, namespaces, handling errors, clean code, etc.

    I think it would be a great help for some of us, who are not enough familiar with some things..
    (I'm still too much used to c)

    Thanks a lot

  2. #2
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Portugal
    Posts
    7,581
    Only sources of that kind I know, are books. Web tutorials are (the ones I've ever seen) too limited.

    Of the ones listed on the sticky thread on this forum, Addison-Wesley C++ Primer 4th Edition has excellent (and complete) OOP coverage.
    The programmer’s wife tells him: “Run to the store and pick up a loaf of bread. If they have eggs, get a dozen.”
    The programmer comes home with 12 loaves of bread.


    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Using variables in system()
    By Afro in forum C Programming
    Replies: 8
    Last Post: 07-03-2007, 01:27 PM
  2. Data Mapping and Moving Relationships
    By Mario F. in forum Tech Board
    Replies: 7
    Last Post: 12-14-2006, 10:32 AM
  3. Replies: 3
    Last Post: 03-04-2005, 02:46 PM
  4. My program, anyhelp
    By @licomb in forum C Programming
    Replies: 14
    Last Post: 08-14-2001, 11:04 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21