Hi eveyone. I am very new to C++ and have an assignment coming up. I understand most of it except for two parts. The For Loop and the layout in the output file. The assignment is to do mailing labels. They will be in the format:
Michael Smith
555 Smith Street
Philadelphia, PA 15728
Box 1 of 5
The teacher wants them to be printed
BOX 1 BOX2
BOX 3 BOX 4
BOX5
How would I go about splitting the page like that and forcing the program to print them that way. Also the for loop I am a bit uncertain of how to put it together. Can anyone maybe explain the for loop a little? Thanks guys. Any help you can provide would be so appreciated.
Michael Smith
555 Smith Street
Philadelphia, PA 15728
Box 1 of 5
The teacher wants them to be printed
BOX 1 BOX2
BOX 3 BOX 4
BOX5
How would I go about splitting the page like that and forcing the program to print them that way. Also the for loop I am a bit uncertain of how to put it together. Can anyone maybe explain the for loop a little? Thanks guys. Any help you can provide would be so appreciated.
Comment