C++ Basic Skills: Lesson 16 "ASCII Stuff and some Type Conversion"

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
2,982
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Aug 23, 2009

Back with a video detailing ASCII values and how that works with characters. I also show you the pitfalls of trying to convert a character to an integer, and how to do it properly.

Category:

Howto & Style

Tags:

License:

Standard YouTube License

  • likes, 4 dislikes

Link to this comment:

Share to:
see all

All Comments (11)

Sign In or Sign Up now to post a comment!
  • at 8:20 you could do (int(n) - int('0'))

    I haven't tested it. But I'm sure it works. BTW thank you so much. You are amazing!!

  • You keep going off on a tangent. it's kinda annoying, kinda funny.

  • Thanks

  • OMG!!! THANKS FOR YOUR GREAT HELP!!! 8D

  • (char)7 makes a beep.

  • Hey good lesoon make me more comf. using ASCII.

    by the way I think ASCII starts from 32 , there is no character for less than 32.

    am I right?

  • I think the reason you don't get any characters for values higher than 127 is that the ASCII table is only 128 characters. the rest is part of the extended ASCII table and is stored as negative range (-1 to -128) i think, so it is still an 8 bit int. I have not checked it out though.

    To everyone, if you want to know more about the ASCII table just google it, and you will find it :)

  • Thanks Man... Really helped...

  • doesnt atoi mean ascii to int?

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more