Hi all,

I'm interested to know what is the difference in programming using MS Visual 
C++ on Windows and using the GCC compiler on Linux, i.e. what are some of the 
things I can do on Visual C++ that won't compile/run on Linux, and vice versa.

For example, I know that Windows uses the LLP64 model, while Linux uses the 
LP64 model, so the long data type is only 32-bit on Windows but 64-bit on 
Linux. Also, the windows.h file is only available in Windows, and can't be used 
on Linux. I've also read that there is also some differences in network 
programming, since winsock, and especially the underlying ip headers are much 
different in Windows than Unix/Linux gcc. Is this true?

Thank you. 


      

Reply via email to