I am trying to create an XML parser in C++. I am currently using cygwin and gcc to compile and gdb to debug. I have this piece of code:
I don\'t suppose anyone tell me whats the difference between using the std::string and just the string data type in C++??
I am trying to replace a class method which returns const std::string & with const boost::interprocess::basic_string &. The main challenge I am facing is the incompatibility between the two cl
This question is a flip开发者_运维百科 side of this How to efficiently copy a std::string into a vector
Often times you see things like std::map<std::string, somethingelse> m_named_objects; or std::string state;
Here\'s my code: struct RS_Token { char id; char cleanup; unsigned char array[sizeof (std::string) > sizeof (double) ? sizeof (std::string) : sizeof (double)];
I have a function in a third-party library written in C: char* fix_filename_slashes(char* path). This function expects a mutable C-string passed to it so it can change all the slashes in the path to t
I\'ve just moved from char arrays to std::string and I\'ve already ran into a problem, I\'m probably doing something extremely stupid, feel free to ridicule:
I\'ve successfully set up a small XZ compressor which returns a std::string that contains the compressed output. To process the result I need to \"convert\" the std::string to a NSString. Unfortunatel
Why isn\'t there a std::basic_string<...>::back() member function? The functionality is obviously there, I mean, one can write