C:\>g++ test.cpp
test.cpp:1:22: warning: extra tokens at end of #include directive
test.cpp: In member function `int CDemo::Get_m_a() const':
test.cpp:15: error: assignment of data-member `CDemo::m_a' in read-only structur
e
test.cpp: In function `int main()':
test.cpp:35: error: `PAUSE' undeclared (first use this function)
test.cpp:35: error: (Each undeclared identifier is reported only once for each f
unction it appears in.)
C:\>g++ --version
g++ (GCC) 3.4.4 (mingw special)
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.