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

Search:

Type: Posts; User: laserlight

Search: Search took 0.18 seconds.

  1. Replies
    17
    Views
    12,750

    Re: problem with toupper()

    Frankly, I think the use of c_str is a red herring here. You can effectively treat a std::string as if it were an array of char, so use that to your advantage. Don't over-complicate by calling c_str.
  2. Replies
    17
    Views
    12,750

    Re: problem with toupper()

    toupper is used to convert a single character to uppercase, not a string.
Results 1 to 2 of 2





Click Here to Expand Forum to Full Width

Featured