This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

std::string and std::stringstream support

I am facing problems while using std::string and std::stringstream.

The string object is getting corrupted if the size of the string is increased.

The program is getting corrupted on executing the stringstream related instruction.

Any specific switches need to be enabled to use these C++ classes

I am using CCS V 3.3

Harish

 

  • There is no switch to alter the behavior of std::string or std::stringstream.

    Could you post a complete, compilable test case demonstrating the problem?  Be sure to include the compiler version (not the CCS version) and the complete command-line options.