wchar_t to char[]

Discussion in 'C++' started by Manoj Jangid, Dec 6, 2007.

  1. Manoj Jangid

    Manoj Jangid Guest

    hi how do i convert wchar_t* to char[128] or char[128] to wchar_t*

    Kind Regards
    Manoj Jangid, Dec 6, 2007
    #1
    1. Advertising

  2. * Manoj Jangid:
    > hi how do i convert wchar_t* to char[128] or char[128] to wchar_t*


    That depends on what the data is.

    You might check out "widen" and "narrow" in the C++ standard library, as
    well as the conversion functions in the C library, and see if they help.

    Cheers, & hth.,

    - Alf

    --
    A: Because it messes up the order in which people normally read text.
    Q: Why is it such a bad thing?
    A: Top-posting.
    Q: What is the most annoying thing on usenet and in e-mail?
    Alf P. Steinbach, Dec 6, 2007
    #2
    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. Adrian Cornish
    Replies:
    2
    Views:
    8,178
    Adrian Cornish
    Jul 12, 2003
  2. Bren
    Replies:
    4
    Views:
    4,113
    Peter van Merkerk
    Oct 7, 2003
  3. Mark A. Gibbs
    Replies:
    1
    Views:
    614
    John Carson
    Mar 29, 2005
  4. lovecreatesbeauty
    Replies:
    1
    Views:
    1,007
    Ian Collins
    May 9, 2006
  5. Replies:
    3
    Views:
    1,080
    James Kanze
    Aug 15, 2008
Loading...

Share This Page