Hey new here. I've been programming for a little bit with C++ under Linux and if you dont know when you compile something for Linux its pretty universal because all Linux distros use some version of the Linux Kernel.
Well for learning sake i want to start a couple projects under windows (which i dont use often). If i want to create a program to work with different versions of windows do i need to compile it under that OS or use certain options? I'm using Microsoft Visual C++ 2008 Express under Windows XP Pro x64. My goal is to compile a program to work under the newer versions of windows such as vista/windows 7.
Any help would be greatly appreciated.