Comparisons
Home Up Getting Started C++ GUI Partial Temp Comparisons MSVC 7 Limits BW MFC GNU Compilers

This chart compares MSVC++ V6 and GNU/Cygwin V.1

Feature MSVC GNU/Cygwin
6 7
#include<sstream> yes yes missing, you must use the legacy strstring.h

(However, it is available from www.stlport.com)

Templates Partial Template Specialization (Used for unrolling loops) no no yes
External Member template no no no
Explicit Specialization of Member Templates no no ?

Nested Classes Within Class Templates

no no ?
Nested template classes yes yes no
for(int ii = 0; ii < 3; ii++) cout << ii; int ii; no, you cannot declare another variable ii yes Yes, variables declared in the for-loop are only valid within the for-loop.
Current version macro _MSC_VER=1200 _MSC_VER=1300 __GNUG__=2

__GNUC_MINOR__ = 95

Covariant Return No Yes No
static const members

struct TEST { static const int x = 6; };

cout << "TEST::x = " << TEST::x<<endl;

no yes yes
Standard exceptions for I/O Stream yes yes no (non-standard naming convention)
 

 

Home Up Feedback Contents Search

Send mail to webmaster@SIGNITEK.com with questions or comments about this web site.