Search Results

Showing results 1 to 4 of 4
Search took 0.01 seconds.
Search: Posts Made By: Nemoticchigga
Forum: C++ Feb 26th, 2008
Replies: 6
Views: 701
Posted By Nemoticchigga
The brackets are fine. Add "return 0;" at the end of the main.
Forum: C++ Feb 21st, 2008
Replies: 10
Solved: class question
Views: 855
Posted By Nemoticchigga
But I agree that this is not your problem, just a good coding standard to use.
Forum: C++ Feb 21st, 2008
Replies: 10
Solved: class question
Views: 855
Posted By Nemoticchigga
They are very simple to use, use #ifndef filename_h and #define filename_h before any code, and then #endif at the very end of the file. It helps to protect against repeated inclusions.
Forum: C++ Feb 21st, 2008
Replies: 10
Solved: class question
Views: 855
Posted By Nemoticchigga
You need only to include the header file and then create an instance of that class. If your class is called Foo, you would do:

Foo myClass;

myClass.(all the members should now be present) =...
Showing results 1 to 4 of 4

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC