Tuesday, September 29, 2015

Sunday, September 27, 2015

working directory, project or solution directory?

From here:


"When developing a C++ program using Visual Studio, you typically compile and run it from the Visual Studio IDE. By default, when you do this, the executable is run with the working directory being the directory containing the Visual C++ project (.vcxproj). That is, this is the directory which acts as the current directory for your executable, when it run from within Visual Studio. Note that if you ran the executable from a commandline, then the working directory would be the current directory of your command prompt."

See the referred to page for how to change, etc.

Friday, September 25, 2015

Changing color of text in a console

Haven't used this yet but would like to so putting it down so i don't lose it:

Key is SetConsoleTextAttribute()


Wednesday, September 23, 2015

console window moved off the display

move with arrow keys
hit enter at end