classes and int main()
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums
Results 1 to 2 of 2

Thread: classes and int main()

  1. #1
    Join Date
    Mar 2009

    classes and int main()

    I am looking for some good tutuorials and information sites on c++ classes and how to structure and write them. I have a very large int main() that i would like to try and separate into classes so int main() is as small as possible. Does anybody have any suggestions for good resources? I can also post my code if its helpful.

  2. #2
    Lindley is offline Elite Member Power Poster
    Join Date
    Oct 2007
    Seattle, WA

    Re: classes and int main()

    Every class should represent a type of object conceptually. The object could represent data, or it could manipulate other objects, or both.

    Everything else follows from that basic idea.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

This is a survey!

HTML5 Development Center