Hello. I`m switching from Codeblocks to Visual Studio. (2010). The university allows me to download the Ultimate version from dreamspark. Everything installed and I get the following error:
Czy wolisz polską wersję strony elektroda?
Nie, dziękuję Przekieruj mnie tamrufek90 wrote:It`s completely different, and reported by the linker.I don`t program in C++, but the fact is that the program written by the author of the thread starts compiling for me after adding #include "stdafx.h". I use VS 2k10 prof.
It is true that the error without #include "stdafx.h" is slightly different, because:
error C1010: unexpected end of file while looking for precompiled header. Did you forget to add `#include "StdAfx.h"` to your source?
rufek90 wrote:Probably yes, but the empty project option was selected, or the creation of precompiled headers was deselected and the rest of the files were deleted. Anyway, the code is correct.Edit: Now I noticed that the author has these folders empty. Have you created a new win32 console application project?