quote:Original post by bob123452
yes i did mean microsoft visual c++ .net 2003. how hard would it be to change form writing in syntax for the gcc compiler for a while and then switching to visual c++.net 2003?
You''re missing the point. The C++ language standard
defines the syntax; if it doesn''t follow the same syntax, it''s not C++.
Syntactically, I doubt any C++ compilers out there have any significant differences (excepting a few extensions, such as a couple of GCC-specific operators whose form eludes me as I have never used them). In general terms, everything that''s standard C++ code (and everything in basic tutorial books should be) should compile the same on all the compilers mentioned in this thread (excepting outdated versions, like Visual C++ 6.0).
The difference you really need to worry about at this stage is standards compliance - some compilers don''t adhere to the standard very well. As long as you stick with current versions, though, both Visual C++ (.NET 2003) and GCC/g++ are fairly good. Later on, there is also the fact that different compilers ship with different libraries and extensions and may work with different third-party libraries and SDK''s (for example, you''ll have a much easier time writing DirectX code with VC++). As a beginner, however, this won''t really concern you.