Hey there,
say my program looks like this
#include "std_lib_facilities.h"
int main()
{
cout << "Please enter a floating point value: ";
double n;
cin >> n;
cout << "n == " << n
<< "\nn + 1 == " << n+1
<< "\nthree times n == " << 3*n
<< "\ntwice n == " << n+n
<< "\nn squared == " << n*n
<< "\nhalf of n == " << n/2
<< "\nsquare root of n == " << sqrt(n)
<< endl;
keepwindow_open(); //error
return 0;
} |
Notice the error, a "_"is missing.
Now, I'm using Visual Studio Express 2012 and when I try to add a "_" between
"keep" and "window" it would look like "keep_indow_open();" instead of
"keep_window_open();".
Rather than adding new characters it substitutes them with characters that I type in.
Another example:
cout << "cpluspluscom"
Oh, wow. I forgot the dot, let's add that real quick.
Oh, no, you can't. Now it looks like this: cout << "cplusplus.om"
How do I disable this function?
I remember the 2010 version not having this "problem:.
Thanks