how can I GET A EMPTY SQUARE İN C++ LİKE THİS;
* * *
* *
* * * PLS HELP ME
Recommended Answers
Jump to Post
for(j=1;j=n;j++)
You are not comparing j with n, you are setting j to n, therefore an infinite loop.You need to think deeper about what you are trying to accomplish. Use pencil and paper to figure out what kind of loops you need, and how many.
All 4 Replies
Jiwe 0 Junior Poster in Training
mzn 0 Newbie Poster
Tigran 14 Junior Poster in Training
WaltP 2,905 Posting Sage w/ dash of thyme Team Colleague
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.