Thread: different "pages"

  1. #1
    Registered User distanceisdeath's Avatar
    Join Date
    Feb 2006
    Posts
    10

    different "pages"

    hello, im pretty much a beginner to all this. i want to write a code that will allow me to view words. and then press a button and go to another page with more words. kinda like a slideshow. it doesnt have to be fancy it can be the white and black on any normal beginner mode. sorry if all this seems confusing. thanks, distance is death.

  2. #2
    Devil's Advocate SlyMaelstrom's Avatar
    Join Date
    May 2004
    Location
    Out of scope
    Posts
    4,079
    You have my permission to write this code.

    ....
    .... ok, but your biggest problem is gonna be clearing the screen, as there is no standard method. Look at the tutorials. Find out how output works, then look at this FAQ. It will tell you the best ways to clear the screen. Most likely, you'll be using conio.h.

    http://faq.cprogramming.com/cgi-bin/...&id=1043284385
    Sent from my iPadŽ

  3. #3
    Registered User distanceisdeath's Avatar
    Join Date
    Feb 2006
    Posts
    10
    all right thanks for the quick reply. ill try it later i have to go to school right now.

  4. #4
    Devil's Advocate SlyMaelstrom's Avatar
    Join Date
    May 2004
    Location
    Out of scope
    Posts
    4,079
    ...and if you want to have some real fun with this. Once you get an initial version of this and want something more challenging. Try and get the output to look like this:

    Code:
     _____________________________________________________________________ 
    | .--------------------------------. .--------------------------------. |
    | |    Hello World, How's it going? |    Hello World, How's it going? | |
    | | I'm fine, thanks for asking me. | I'm fine, thanks for asking me. | |
    | | That's nice to know. You have a | That's nice to know. You have a | |
    | | nice day.                       | nice day.                       | |
    | |    Hello World, How's it going? |    Hello World, How's it going? | |
    | | I'm fine, thanks for asking me. | I'm fine, thanks for asking me. | |
    | | That's nice to know. You have a | That's nice to know. You have a | |
    | | nice day.                       | nice day.                       | |
    | |    Hello World, How's it going? |    Hello World, How's it going? | |
    | | I'm fine, thanks for asking me. | I'm fine, thanks for asking me. | |
    | | That's nice to know. You have a | That's nice to know. You have a | |
    | | nice day.                       | nice day.                       | |
    | |                                 |                                 | |
    | |< Prev Page                      |                      Next Page >| |
    |  --------------------------------' '--------------------------------  |
     -----------------------------------------------------------------------
    Last edited by SlyMaelstrom; 02-24-2006 at 08:14 AM.
    Sent from my iPadŽ

  5. #5
    Registered User distanceisdeath's Avatar
    Join Date
    Feb 2006
    Posts
    10
    how do you get a code like that though?

  6. #6
    Devil's Advocate SlyMaelstrom's Avatar
    Join Date
    May 2004
    Location
    Out of scope
    Posts
    4,079
    You'll have to start learning to program first. I can't just go over the whole thing while you don't know anything. It's not as hard as it may look though. Start with the tutorials on Cprogramming.com and maybe buy a programming book, too.
    Sent from my iPadŽ

  7. #7
    Registered User distanceisdeath's Avatar
    Join Date
    Feb 2006
    Posts
    10
    ummm okay. ill try it later.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Multiple "pages"
    By Snip in forum Windows Programming
    Replies: 1
    Last Post: 07-05-2005, 12:14 PM