I want to use Microsoft Visual Studio .NET 2005
I am using a freebie editor but it does not allow line at a time debugging like Microsoft. showing stop points and viewing variable live while running.
if I paste my C code into a C++ project it usually will never run. first it says :
Did you forget to add '#include "stdafx.h"' to your source?
if I add it then I get
'Debug\linky.pch' precompiled header file is from a previous version of the compiler, or the precompiled header is C++ and you are using it from C (or vice versa)
so how do I fix it?
I tried naming the files xxx.c and xxx.cpp
are there options or settings to make Microsoft C++ work like ANSI C?
TIA
DougP
I am using a freebie editor but it does not allow line at a time debugging like Microsoft. showing stop points and viewing variable live while running.
if I paste my C code into a C++ project it usually will never run. first it says :
Did you forget to add '#include "stdafx.h"' to your source?
if I add it then I get
'Debug\linky.pch' precompiled header file is from a previous version of the compiler, or the precompiled header is C++ and you are using it from C (or vice versa)
so how do I fix it?
I tried naming the files xxx.c and xxx.cpp
are there options or settings to make Microsoft C++ work like ANSI C?
TIA
DougP