My while loop is messed up too, trying to figure out how I can set it up logically and not getting anywhere
My while loop is messed up too, trying to figure out how I can set it up logically and not getting anywhere
Why not use the intuitive for loop as I showed you? When you have a CERTAIN number you need to stop at, a for loop is just the clearer choice. When you have an unknown number of loops to make, then a while loop seems quite natural, and a better choice.
This line wont do what you think:Backslash is the escape character, which is used for things such as \n to do a newline etc.Code:printf("//| |\\ |\n");
This means the above gives you one backslash, not two. You'll want to use this to get two backslashes:Code:printf("//| |\\\\ |\n");
My homepage
Advice: Take only as directed - If symptoms persist, please see your debugger
Linus Torvalds: "But it clearly is the only right way. The fact that everybody else does it some other way only means that they are wrong"