Converting an integer to a string.

Discussion in 'C++' started by claire.bell1, Jul 19, 2003.

  1. claire.bell1

    claire.bell1 Guest

    Hi,
    I have an int and a char array in my program, the int is multiple digits.

    How can I append the int to the char array/string?

    This is not for use in cout or cin so the << and >> commands seemingly wont
    work.

    Any ideas?
    Thanks,
    Vipa.
     
    claire.bell1, Jul 19, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Gil
    Replies:
    13
    Views:
    1,069
    Default User
    Jan 29, 2004
  2. Alex Neumann

    Converting a string to an integer

    Alex Neumann, May 10, 2004, in forum: C++
    Replies:
    6
    Views:
    3,236
    Leor Zolman
    May 11, 2004
  3. Replies:
    5
    Views:
    5,647
    Shani
    Mar 19, 2005
  4. Ken Fettig

    converting an integer to a string

    Ken Fettig, Aug 6, 2003, in forum: Python
    Replies:
    3
    Views:
    361
    John Roth
    Aug 6, 2003
  5. Randy Kramer
    Replies:
    12
    Views:
    406
    Robert Klemme
    Oct 25, 2007
Loading...

Share This Page