Today i started to learn C++ again, and when u installed visual studio 2010, 2013 and code::blocks (i installed all 3 because the same problem kept coming up on each install, and i was hoping for a different result). My problem is, when i open lets say visual stuidio 2013 express, and do "new project", win32 console application and start up a new program, but when i try to make "hello world" it doesnt work. I noticed that the code that shows up when u start a new program isnt what it should be :
that is what shows up when i startup win32 console application
i tried to change it to what its supposed to be manually which would be this :
1 2 3 4 5 6 7
#include "iostream"
int main()
{
return 0;
}
and it still dont work
I'm assuming that theres is some file somewhere in my computer that is either corrupted or just not installed right, i tried reinstalling these programs multiple times i still get the same result please help!
yes i have, thats why im saying theres something wrong somewhere i just dont know what it is. i've used code::blocks and vs in the past and it didnt do this
If you create a win32 console project on VS it should compile and run without you altering any settings. But when creating a win32 console project, I do the following:
1) un-tick "precompiled header" in the new project wizard
2) change the Character Set from "Use Unicode Character Set" to "Use Multi-Byte Character Set", in Project Properties | General. Project Properties, C/C++ "Precompiled Headers"; remove "StdAfx.h" from "Precompiled header file", and remove entry for "Precompiled Header Output File"