Search Results

Showing results 1 to 2 of 2
Search took 0.02 seconds.
Search: Posts Made By: frrossk ; Forum: C++ and child forums
Forum: C++ Feb 4th, 2005
Replies: 14
Views: 7,679
Posted By frrossk
If you want your program to run more than once (the while loop), you should put

cout << "\nInput hours worked(0 to quit):";
cin >> hours_worked;

inside the loop:

do
{
cout << "\nInput...
Forum: C++ Sep 10th, 2004
Replies: 14
Views: 5,468
Posted By frrossk
Just put a cin.get() at the end of the code, exactly before return 0 command...
Showing results 1 to 2 of 2

 


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

©2003 - 2009 DaniWeb® LLC