Search:

Type: Posts; User: laserlight

Search: Search took 0.12 seconds.

  1. Replies
    12
    Views
    2,980

    You decided to use an API that has no notion of a...

    You decided to use an API that has no notion of a C++ string, so it is up to you to do what is necessary.


    In that case, you should use std::getline, or some other API that provides such a...
  2. Replies
    12
    Views
    2,980

    You can pass &strBuf[0] as the argument, but of...

    You can pass &strBuf[0] as the argument, but of course, you must have set the std::string object to have a large enough size, possibly including a null terminator if applicable.


    The inventor of...
Results 1 to 2 of 2