MSVC 2005 question
Posted on 2006-03-27
I just got MSVC 2005, and I'm having some problems.
I ran the following test:
int main(int argc, char *argv)
std::cout << "Enter in a string: " << std::flush;
i = s.length();
std::cout << "You entered: " << s;
std::cout << " which is " << i << " characters long" << std::endl;
Simple program which compiles and runs just fine. The problem is when I run it in the debugger. If I input in the string "hello there", the debugger variable watch shows the string as having the value: "€PD"
Also, the variable i doesn't show up on the variable watch at all. The only variables which show up are argc, argv, and s.
Anyone have any insight here?