any help?

This is a discussion on any help? within the C++ Programming forums, part of the General Programming Boards category; I want to make a program that will take a char variable i.e. X (what would be the users input) ...

  1. #1
    Registered User
    Join Date
    Sep 2005
    Posts
    241

    any help?

    I want to make a program that will take a char variable i.e. X (what would be the users input) like Hello and I want it to go through the word and change the letters to their ascii value, any help on where tos start?

  2. #2
    Registered User major_small's Avatar
    Join Date
    May 2003
    Posts
    2,787
    what have you tried so far?

    from this post alone, I'd say you probably need to visit the tutorials
    Join is in our Unofficial Cprog IRC channel
    Server: irc.phoenixradio.org
    Channel: #Tech


    Team Cprog Folding@Home: Team #43476
    Download it Here
    Detailed Stats Here
    More Detailed Stats
    52 Members so far, are YOU a member?
    Current team score: 1223226 (ranked 374 of 45152)

    The CBoard team is doing better than 99.16% of the other teams
    Top 5 Members: Xterria(518175), pianorain(118517), Bennet(64957), JaWiB(55610), alphaoide(44374)

    Last Updated on: Wed, 30 Aug, 2006 @ 2:30 PM EDT

  3. #3
    Registered User
    Join Date
    Sep 2005
    Posts
    241
    I haven't tried anything because I don't know where to start.

  4. #4
    Registered User major_small's Avatar
    Join Date
    May 2003
    Posts
    2,787
    try starting at the tutorials I pointed you to.

    you'll need to know:
    • basic output
    • basic input
      and either:
    • primitive data types
    • arrays
      or:
    • the string class
      and finally:
    • basic looping structures
    • casting routines
    Last edited by major_small; 10-18-2005 at 02:43 PM.
    Join is in our Unofficial Cprog IRC channel
    Server: irc.phoenixradio.org
    Channel: #Tech


    Team Cprog Folding@Home: Team #43476
    Download it Here
    Detailed Stats Here
    More Detailed Stats
    52 Members so far, are YOU a member?
    Current team score: 1223226 (ranked 374 of 45152)

    The CBoard team is doing better than 99.16% of the other teams
    Top 5 Members: Xterria(518175), pianorain(118517), Bennet(64957), JaWiB(55610), alphaoide(44374)

    Last Updated on: Wed, 30 Aug, 2006 @ 2:30 PM EDT

  5. #5
    Registered User
    Join Date
    Sep 2005
    Posts
    241
    Ok, thank you.

Popular pages Recent additions subscribe to a feed

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21