Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Difference Betwen Visual C++ 2008 And g++

I'm learning C++ and when I was testing the Microsoft Visual C++ 2008 Express and Eclipse Ganymede, but with the g++ compiler as default, I've noted that a same code in VC++ get some errors and in g++ compile normally, without errors or warnings and execute normally, but I want to know what is the difference between VC++ syntax and g++ syntax? Thanks!

like image 774
Nathan Campos Avatar asked Dec 03 '22 15:12

Nathan Campos


1 Answers

Can't comment because I'm new (reputation isn't 50 yet), but here's another Stack Overflow question that deals with a similar topic:

Compiling differences in Visual C++ and *nix environments

like image 105
Umair Avatar answered Dec 09 '22 16:12

Umair