I'm not sure how I would write a subprogram to display my name twenty times, each on a different line. Could someone help me?
This is a discussion on Sub-Programs within the C++ Programming forums, part of the General Programming Boards category; I'm not sure how I would write a subprogram to display my name twenty times, each on a different line. ...
I'm not sure how I would write a subprogram to display my name twenty times, each on a different line. Could someone help me?
What have you tried?
C + C++ Compiler: MinGW port of GCC
Version Control System: Bazaar
Look up a C++ Reference and learn How To Ask Questions The Smart Way
Nothing..I'm not sure where to even start.
right now im just writing it out
Okay. Write a program that displays your name once. Post it here in [code][/code] bbcode tags.
C + C++ Compiler: MinGW port of GCC
Version Control System: Bazaar
Look up a C++ Reference and learn How To Ask Questions The Smart Way
Then I suggest you start here: C++ Tutorial start at the first link and continue studying the links until you understand where to start.
Jim
I actually just realized i have to go to class!! Dang it!! THank you for your assistance though. Ill probably be back on later.
A sub-program? You might want to explain what you mean by a "sub-program".