I am very new to C++ with only a few months experience. I have encountered a problem that is becoming challenging for me to fix.
I have been given an assignment to print out the ASCII code number and character values 33-126 in a chart that has 3 columns using for loops.
My problem is making the second for loop work in sync with the first, without the for loop repeating itself continuously.
Will someone take a look at my current code and help me solve my problem?
Read this then: http://www.cplusplus.com/articles/firedraco1/
Somebody tell me if the "how to ask" tells people to use damn code tags. I didn't find it in a quick skim just now but I wasn't looking very hard.
My problem is making the second for loop work in sync with the first, without the for loop repeating itself continuously.
That's the thing with console programming using the standard library. You always have to output line by line. I would just combine them into a single for loop that prints each line. You would need to add a constant to get the correct number on the next columns.