int value to char

This is a discussion on int value to char within the C Programming forums, part of the General Programming Boards category; I know this is an easy question, but I can't seem to find anything on google or in the FAQ ...

  1. #1
    Registered User
    Join Date
    Nov 2005
    Posts
    13

    int value to char

    I know this is an easy question, but I can't seem to find anything on google or in the FAQ section about this.

    I want to take the value in an int, and convert that to a character with the same value.

    I don't mean converting to ascii or whatever that's called, but if the int value is 6, i want the char value to be '6'.

    Thanks a lot, sorry to ask such a bad question.

  2. #2
    Registered User
    Join Date
    Nov 2005
    Posts
    13

    Talking

    Wow...never mind...found it on the FAQ...im blind.

  3. #3
    Supermassive black hole cboard_member's Avatar
    Join Date
    Jul 2005
    Posts
    1,709
    Quote Originally Posted by almo89
    Wow...never mind...found it on the FAQ...im blind.
    People actually use that thing?
    Good class architecture is not like a Swiss Army Knife; it should be more like a well balanced throwing knife.

    - Mike McShaffry

  4. #4
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,047
    dwk

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell


    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ: cpwiki.sf.net

    My website: http://dwks.theprogrammingsite.com/
    Projects: codeform, xuni, atlantis, nort, etc.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 48
    Last Post: 09-26-2008, 03:45 AM
  2. can some one please tell me the cause of the error ?
    By broli86 in forum C Programming
    Replies: 8
    Last Post: 06-26-2008, 08:36 PM
  3. Replies: 14
    Last Post: 06-28-2006, 01:58 AM
  4. Game Won't Compile
    By jothesmo in forum C++ Programming
    Replies: 2
    Last Post: 04-01-2006, 03:24 PM
  5. Contest Results - May 27, 2002
    By ygfperson in forum A Brief History of Cprogramming.com
    Replies: 18
    Last Post: 06-18-2002, 01:27 PM

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