CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: 2kaud

Search: Search took 0.07 seconds.

  1. Replies
    6
    Views
    1,922

    Re: return string length

    If you are upgrading your code from using the first function (wcstombs) to using the second (wcstombs_s), then to have your function processString return the same value, then IMO you will need to...
  2. Replies
    6
    Views
    1,922

    Re: return string length

    The difference is because the functions work slighty different.

    wcstombs
    If wcstombs successfully converts the multibyte string, it returns the number of bytes written into the multibyte output...
  3. Replies
    6
    Views
    1,922

    Re: return string length

    ????????:confused: The length of a c-style char array is the number of characters from (and including) the start position proceeding (but not including) the null terminator.
Results 1 to 3 of 3





Click Here to Expand Forum to Full Width

Featured