Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

SAFEDISKKILLER21

very newbie

This topic is 5961 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

i have a pretty simple question that i am sure everyone knows the answer to. in the midst of you laughing dont forget to answer it since i am only 6. I need to know how to make paragraphs and tell the program to go back to them in C or C++. see, what i wanna do is create a dummy value that will record the number of lines on the screen (d++ every time the while command executes and says click any key to display the next twenty lines). however i cannot seem to get the the thing to keep printing after i click a key.it just stops. i knew how to to this with cobol (name the paragraph and PERFORM PRINT-LINES) but C is so much cooler. thanx.

Share this post


Link to post
Share on other sites
Advertisement
Guest Anonymous Poster
quote:
Original post by SAFEDISKKILLER21
...i am only 6...


I have a hard time believing that.

Share this post


Link to post
Share on other sites
Maybe he meant 16 or 63....
but if I understood right...(and I probably didn''t =( ) mayube what you can do, is have it loop until done, and in the loop write the next 20 lines then do something like:

cout << "-Press any Key to Continue-" << endl;
getche();

getche() waits for a character to be pressed. (and returns it btw)

-=Lohrno

Share this post


Link to post
Share on other sites
quote:
Original post by Anonymous Poster
I have a hard time believing that.


you and me both..
most six year olds have trouble speaking
phonetically, let alone typing and programming.
he''s full of shit if you ask me

Share this post


Link to post
Share on other sites
And with a nick like SAFEDISKKILLER21, probably a pirate too.

Manufacturing metaphores in my melancholy mind.

Share this post


Link to post
Share on other sites
quote:
Original post by eldee
[quote]Original post by Anonymous Poster
I have a hard time believing that.


you and me both..
most six year olds have trouble speaking
phonetically, let alone typing and programming.
he''s full of shit if you ask me



ya i did mea 16...anyways i still don''t get how to make a paragraph. Is it "int paragrapha" ?

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
quote:
Original post by Lohrno
getche();



Why would you use getche()? Why would you want it to echo back the key pressed? getch() is much more ''covered up''.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
6!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!6!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
6!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
6!!!!!!!!!!!!!!!!!!!!!!!!!








6!!!!!!!!!!!!!!!!!!!!!!!!!!

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!