Search Results

Showing results 1 to 3 of 3
Search took 0.00 seconds.
Search: Posts Made By: felgall ; Forum: C++ and child forums
Forum: C++ Sep 29th, 2004
Replies: 4
Views: 2,329
Posted By felgall
In your example print_results is the method. You then define an object of type Standard in order to be able to use this method on that object.
Forum: C++ Sep 24th, 2004
Replies: 6
Views: 4,112
Posted By felgall
Your right, I missed the int when working out how the loop works. Divide 1 by 2 in integer maths and you'd have to get either 1 or 0 returned depending on how the code is evaluated so it either...
Forum: C++ Sep 23rd, 2004
Replies: 6
Views: 4,112
Posted By felgall
That code isn't an infinite loop. It loops twice adding 1/2 each time round ending up with a total of 1.

The following would "in theory" be an infinite loop but in practice would terminate once...
Showing results 1 to 3 of 3

 


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

©2003 - 2009 DaniWeb® LLC