944,035 Members | Top Members by Rank

Ad:
  • C++ Discussion Thread
  • Marked Solved
  • Views: 852
  • C++ RSS
You are currently viewing page 2 of this multi-page discussion thread; Jump to the first page
Oct 25th, 2009
0

String Issue (or maybe this is an array)

Have I stumped everyone?
Reputation Points: 10
Solved Threads: 0
Light Poster
itzaaron is offline Offline
31 posts
since Sep 2009
Oct 25th, 2009
1
Re: String issue
for ( int x=0; x<3; x++ );
Do you know what the semicolon does to your intended loop?
Team Colleague
Reputation Points: 2780
Solved Threads: 312
long time no c
Dave Sinkula is offline Offline
4,790 posts
since Apr 2004
Oct 25th, 2009
0
Re: String issue
for ( int x=0; x<3; x++ );
Do you know what the semicolon does to your intended loop?
No I don't. But it is working now thank you!
Last edited by itzaaron; Oct 25th, 2009 at 2:01 pm.
Reputation Points: 10
Solved Threads: 0
Light Poster
itzaaron is offline Offline
31 posts
since Sep 2009
Oct 25th, 2009
0
Re: String issue
Click to Expand / Collapse  Quote originally posted by itzaaron ...
for ( int x=0; x<3; x++ );
Do you know what the semicolon does to your intended loop?
No I don't. But it is working now thank you!
This would be an equivalent:
C++ Syntax (Toggle Plain Text)
  1. for ( int x=0; x<3; x++ )
  2. {
  3. /* empty loop */
  4. }
Team Colleague
Reputation Points: 2780
Solved Threads: 312
long time no c
Dave Sinkula is offline Offline
4,790 posts
since Apr 2004
Oct 25th, 2009
0
Re: String issue
Okay, well I would like to thank everyone who helped. I am adding to everyone's rep and marking this one as solved.
Reputation Points: 10
Solved Threads: 0
Light Poster
itzaaron is offline Offline
31 posts
since Sep 2009

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C++ Forum Timeline: Need Ideas for Project
Next Thread in C++ Forum Timeline: help me to solve this





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC