الوصف:
The object-oriented C++ language.
|
|
|
map of map.
|
| |
Hi All, I want to create a map of key and another map object (it is another map of key value pairs). I have declared it as map<int, map<short, short>> mpObj; it gives me an error that, "error: ISO C++ forbids declaration of ‘map’ with no type". Does this mean I can not create a map of a map the object? Have I done something wrong?... المزيد »
|
|
what is the following type
|
| |
Hi, I am looking at some source code and in one file there is the following definition : typedef enum _EXCEPTION_DISPOSITION { ExceptionContinueExecution, ExceptionContinueSearch, ExceptionNestedException, ExceptionCollidedUnwind, ExceptionExecuteHandler ...typedef EXCEPTION_DISPOSITION EXCEPTION_ROUTINE (... المزيد »
|
|
SPEC CPU search program announced
|
| |
SPEC CPU Benchmark Search program: SPEC is looking for applications that could be used in the next SPEC CPU suite; submissions that are accepted by SPEC and are included in the next suite earn their submitters $5000 and a license for the new suite (when released). Details: [link]... المزيد »
|
|
preprocessor question
|
| |
Given this code fragment: #define IFV(func, number) \ incomingFunctVal<CVxicBridgedX ferIncomingAction> val##number ( \ number, &CVxicBridgedXferIncomingActio n::func); \ m_transFnMap.insert(fnMap::val ue_type(#func, val##number)); IFV( DoJoin, 1 ); IFV( DoJoinRestartReco, 2 );... المزيد »
|
|
warning for 'char* data = "some string" '
|
| |
Hi, I am developing a http parser in C++. When I use the statement, char* data = "some string"; I receive the warning, 'warning : deprecated conversion from sting constant to char*' kindly let me know why the statement is deprecated. I have just upgraded my OS(from fedora 8 to fedora 9) and I did not get the warning... المزيد »
|
|
"free(): invalid next size" when using std::map as a class member
|
| |
Included here is a very simple class declaration. When this declaration is placed in its own header file [test.hpp] and the class member function definitions are placed in their own file [test.cpp], then the simple usage case that follows results in a SIGABRT when built with GCC v4.12 on SUSE Linux Enterprise Server v10.0 SP1.... المزيد »
|
|
inorder traversal in binary tree class
|
| |
Hi, I cant think of an implementation of inorder tree traversal for my binary tree class given below - class BTree { private: struct Node { int key; Node* parent; Node* left; Node* right; Node(int key, Node* parent, Node* left, Node* right);... المزيد »
|
|
Unresolved external
|
| |
I am trying to build a program written by a colleague and get an 'unresolved external' error when I run the Borland make utility (offending function below). Any ideas what's wrong? I am not a c++ programmer so a simple solution would be very welcome. /* * strtoko.cpp * * Does exactly the same as the standard function "strtok", but... المزيد »
|
|
|
1 - 10 الخاص بـ 227847
« أحدث
|
أقدم »
|
|
|