I have a problem. I\'m writing an app in Polish (with, of course, polish chars) for Linux and I receive 80 warnings when compiling. These are just \"warning: multi-character character constant\" and \
I have strange problem when using at() method of std::string. I\'d like to calculate md5 hash for given string using this library: http://sourceforge.net/projects/libmd5-rfc/files/
I\'ve been looking at DynObj and decided to do my own experimentation with vftables.I\'m working with Visual Studio 2010 and created a console main that instantiates an object with a virtual functi开发
What does the phrase std::string::npos mean in the following snippet of code? found 开发者_JS百科= str.find(str2);
I have a C++ method that takes one variable the method signature is like this: DLL returnObject** getObject( const std::string folder = "" );
I\'m getting compile error in this line: cout << (MenuItems[i].Checkbox ? (MenuItems[i].Value ? txt::mn_yes : txt::mn_no) : MenuItems[i].Value)
In C++0x, what I want would be: std::list<std::string> co开发者_如何学Golours = {\"red\", \"blue\", \"green\", \"grey\", \"pink\", \"violet\"};
I need to store strings in key value format. So am using Map like below. #include<map> using namespace std;
due to performance reasons I didn\'t feel like using fstream for just one time. Seems like a very bad idea to use WinAPI functions with a std::string instead of a plain char array. All in all I would
I have trouble implementing my class. It should be able to initialize from std::string. So I wrote a copy (?) constructor: