what are the differences in programming C++ in linux opposed to windows ??? i don't mean the actual syntax of the code , i rather mean peoples opinions, and experiences.
ive noticed since using linux that programs seem to just respond better, and i havent gone into windows since. I cant stand windows now.
1) do you have to make 2 different programs 1 for linux and 1 for windows to work?
2) how does programming in the commercial world affect choosing a sole OS to program initial C++ code?
3) when books say "do this to make it more portable" do they mean for different OS
4) if you code in linux do you most likely have to port it to windows?
such things like these questions, what are the differences of C++ codeing in different OS
1) By abstracting away platform-dependent things (example: creating a window) away behind appropriate classes and functions and providing an implementation for each OS. There are already many such libraries that intend to make creating portable applications easy.
2) Not sure what you mean, but many commercial applications are released for Windows only.
3) Usually not just that, but also for different compilers.
4) If you use portable libraries, you generally can recompile it for Windows with no or few changes.