Advertisement

1 - 10 of 391 containing alltags:("std") (0 seconds)
I want to distinguish between: std:string str = ""; and std:string str; In both cases str.empty() returns true. Any suggestions?
Zones: C++, Microsoft Visual C++Date Answered: 01/26/2002 Grade: A Views: 0
Is there a way to turn off using a namespace or setting it back to the global namespace in VC++6.0 ie. using namespace std; class A {    set<int> intset; }; // Turn off using namespace...
Zones: C++Date Answered: 10/04/2000 Grade: B Views: 0
have following piece of code: string s = "aaa"; std::transform(s.begin(), s.end(), s.begin(), toupper); When I compile, I get the following error: Error: Could not find a match for std...
Zones: Unix Systems ProgrammingDate Answered: 01/29/2002 Grade: A Views: 0
hi,   i am using vector STL to store employee's information. I used "transform" algorithm to modify some fields of emp struture. When i print my vector after transform, it is showing the correct r...
Zones: C++, Microsoft Visual C++Date Answered: 02/20/2003 Grade: B Views: 0
I need help in storing information that is output from another machine on the network. Is <map> the best way to store and retriev data, instead of using arrays? Anyway I would like to learn how to ...
Zones: C++Date Answered: 02/25/2003 Grade: A Views: 0
Hi, I am using map in one of my application in the VC++ IDE, but it gives a lot of warnings during compilation as given below, microsoft has stated the size limitation of the class heirarch is 255...
Zones: C++Date Answered: 05/31/2003 Grade: B Views: 0
Is there anyway of converting a CString to a std::string and visa versa?
Zones: C++Date Answered: 01/25/2004 Grade: A Views: 8
This might be an easy question for most of you I guess. I want to use "using std::iostream" or similar first in my cpp-files. This is because I have a lot of "cout" and "endl" in my code and it ...
Zones: C++, Microsoft Visual C++Date Answered: 12/09/2003 Grade: B Views: 54
Hi I am working on some code that will use a vector of function pointers. The problem I am having is with the assigment statement assigning function addresses to the pointers. I will call the...
Zones: C++, Microsoft Visual C++Date Answered: 03/18/2005 Grade: A Views: 0