September 3rd, 2013, 04:57 AM
So you're trying to turn C++ into another language? Why not just use the language as it's intended to be used?
"My favorite language does this, so I'm going to get C++ to try and do the same...
September 2nd, 2013, 03:08 PM
The problem is not std::string.
The problem is that you did not overload the DefaultProperty class for operator >> or operator <<.
The bottom line is that if you're going to use operator >>...
September 2nd, 2013, 09:44 AM
There is no such thing as "properties" in C++. That is what you fail to understand.
Unless you're a C++ expert (enough to never ask a question on CodeGuru) would you want to make C++ code look...
September 2nd, 2013, 09:31 AM
If it's more easier, why are you having so many problems?
The issue is this -- there is no way to "map" one language to another language on a line-by-line basis. That is what you're trying to do,...
September 2nd, 2013, 09:17 AM
Because that code you have is faulty. That's the price you pay when you just get code from anywhere, don't know what it really does, and things don't work or compile.
First, why are you using...
September 1st, 2013, 06:24 PM
What is this?
#include <iostream>#include <string>
You should fix the above so that you have one #include per line.
You declared a pointer, and it points to junk. You cannot use it until you...