How to Convert a byte datatype to char or string

This is a discussion on How to Convert a byte datatype to char or string within the C Programming forums, part of the General Programming Boards category; How to convert a byte datatype to char or string. i have to assign a byte data type to char ...

  1. #1
    Registered User
    Join Date
    Jun 2006
    Posts
    1

    How to Convert a byte datatype to char or string

    How to convert a byte datatype to char or string.
    i have to assign a byte data type to char array..
    please help

  2. #2
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    Boy that's really descriptive. Where's your attempt? I don't suppose you searched the forum ... you know, during all that time you should have been reading the Forum Guidelines but instead didn't.


    Quzah.
    Hope is the first step on the road to disappointment.

  3. #3
    Awesomefaceradcore bivhitscar's Avatar
    Join Date
    Apr 2006
    Location
    Melbourne, Australia
    Posts
    210
    Isn't a char a byte anyway? *scratches head*
    it's ironic considerate rarity patron of love higher knowledge engulfs me...

  4. #4
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,048
    In C, yes.

    Maybe you're trying to convert a number to a string? In that case, see the FAQ.
    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: 11
    Last Post: 06-16-2011, 12:59 PM
  2. char Handling, probably typical newbie stuff
    By Neolyth in forum C Programming
    Replies: 16
    Last Post: 06-21-2009, 05:05 AM
  3. Linked List Help
    By CJ7Mudrover in forum C Programming
    Replies: 9
    Last Post: 03-10-2004, 10:33 PM
  4. Something is wrong with this menu...
    By DarkViper in forum Windows Programming
    Replies: 2
    Last Post: 12-14-2002, 11:06 PM

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