Quote:
jdenny said that when using gcc, to compile the program, the compiled program didn't execute as it did when I compiled the program using visual c++. Although I thought that the code would be compiled into the same executable, whether one uses visual c++ or gcc to compile the code.
Could anyone tell me if I am correct or not?
(assuming gcc for linux) no it would not, otherwise you could run every program written in linux on a windows computer and visa versa (without the use of wine or cigwin).