Search Results

Showing results 1 to 2 of 2
Search took 0.00 seconds.
Search: Posts Made By: iamboredguy ; Forum: C++ and child forums
Forum: C++ Sep 7th, 2004
Replies: 5
Views: 2,596
Posted By iamboredguy
You don't HAVE to define NUM_TURNS as static. Defining it as static makes it common between all objects of that class. So if you have
GamePlayer a1;
GamePlayer a2;
then, a1.NUM_TURNS and...
Forum: C++ Sep 2nd, 2004
Replies: 8
Views: 3,875
Posted By iamboredguy
I don't get why C++ pros see red when they see void main(). Can someone explain why intmain() is good and void main() bad?
Showing results 1 to 2 of 2

 


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

©2003 - 2009 DaniWeb® LLC