Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in C only
Search
Advanced Search
Forums
BYTES
Product Launch
Updates
Developer Toolkit
Member List
Calendar
Today's Posts
Home
Forum
Topic
C
Convert the following while loop into a while loop
Convert the following while loop into a while loop
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
Cebile Maseko
New Member
Join Date:
Sep 2010
Posts:
1
#1
Convert the following while loop into a while loop
Sep 4 '10, 08:44 AM
int count = 0;
while (count++ <50)
{
Cout << "Count is" << count << endl;
}
weaknessforcats
Recognized Expert
Expert
Join Date:
Mar 2007
Posts:
9214
#2
Sep 4 '10, 03:23 PM
Your post does not make sense. The code is already in a while loop.
Comment
Post
Cancel
whodgson
Contributor
Join Date:
Jan 2007
Posts:
542
#3
Sep 14 '10, 04:48 AM
I think you may have caught the dreaded Capitalitis virus which causes Cout<< instead of cout<<. Change this and it may print 50 lines.
Comment
Post
Cancel
Previous
template
Next
Working...
OK
OK
Cancel
👍
👎
☕
Comment