Everything works fine on windows 7 but on windows 8.1 I'm having problem running code in c++. Windows 8 works for c code but not for c++. All I'm doing is "hello world"
This is what happens when I run the .exe from a compiled .h using g++
Unsupported 16-Bit application
The program or feature "\??\C:\Users\Ove\Desktop\Cpp\test.exe" cannot start or run due to incompatibly with 64-bit versions of Windows. Please contact the software vendor to ask if a 64-bit Windows compatible version is available.
Says on "sourceforge.net/projects/mingw/" that "All of MinGW's software will execute on the 64bit Windows platforms."
my gcc version 4.8.1 (GCC)
compiling in windows 7 and running it in windows 8 worked but was annoying. It also did NOT work in the reverse