error C2143: syntax error : missing ';' before 'string'
c:\program files\microsoft visual studio\vc98\include\string.h(28) : fatal error C1004: unexpected end of file found
booklib.cpp
h:\2014年实训\text\booklib.h(4) : error C2628: 'Book' followed by 'int' is illegal (did you forget a ';'?)
h:\2014年实训\text\booklib.h(4) : error C2440: 'initializing' : cannot convert from 'const int' to 'class Book'
No constructor could take the source type, or constructor overload resolution was ambiguous
h:\2014年实训\text\booklib.h(9) : error C2057: expected constant expression
h:\2014年实训\text\booklib.h(9) : warning C4200: nonstandard extension used : zero-sized array in struct/union
H:\2014年实训\text\booklib.cpp(5) : error C2039: 'booklib' : is not a member of 'Booklib'
h:\2014年实训\text\booklib.h(6) : see declaration of 'Booklib'
H:\2014年实训\text\booklib.cpp(7) : error C2143: syntax error : missing ';' before '.'
H:\2014年实训\text\booklib.cpp(7) : error C2143: syntax error : missing ';' before '.'
H:\2014年实训\text\booklib.cpp(8) : error C2065: 'top' : undeclared identifier
H:\2014年实训\text\booklib.cpp(10) : error C2143: syntax error : missing ';' before 'while'
H:\2014年实训\text\booklib.cpp(12) : error C2065: 'b' : undeclared identifier
H:\2014年实训\text\booklib.cpp(16) : error C2065: 'book' : undeclared identifier
H:\2014年实训\text\booklib.cpp(16) : error C2109: subscript requires array or pointer type
H:\2014年实训\text\booklib.cpp(16) : error C2106: '=' : left operand must be l-value
H:\2014年实训\text\booklib.cpp(20) : warning C4508: 'booklib' : function should return a value; 'void' return type assumed
H:\2014年实训\text\booklib.cpp(22) : error C2182: 'showFace' : illegal use of type 'void'
H:\2014年实训\text\booklib.cpp(22) : fatal error C1903: unable to recover from previous error(s); stopping compilation
c:\program files\microsoft visual studio\vc98\include\string.h(28) : fatal error C1004: unexpected end of file found
booklib.cpp
h:\2014年实训\text\booklib.h(4) : error C2628: 'Book' followed by 'int' is illegal (did you forget a ';'?)
h:\2014年实训\text\booklib.h(4) : error C2440: 'initializing' : cannot convert from 'const int' to 'class Book'
No constructor could take the source type, or constructor overload resolution was ambiguous
h:\2014年实训\text\booklib.h(9) : error C2057: expected constant expression
h:\2014年实训\text\booklib.h(9) : warning C4200: nonstandard extension used : zero-sized array in struct/union
H:\2014年实训\text\booklib.cpp(5) : error C2039: 'booklib' : is not a member of 'Booklib'
h:\2014年实训\text\booklib.h(6) : see declaration of 'Booklib'
H:\2014年实训\text\booklib.cpp(7) : error C2143: syntax error : missing ';' before '.'
H:\2014年实训\text\booklib.cpp(7) : error C2143: syntax error : missing ';' before '.'
H:\2014年实训\text\booklib.cpp(8) : error C2065: 'top' : undeclared identifier
H:\2014年实训\text\booklib.cpp(10) : error C2143: syntax error : missing ';' before 'while'
H:\2014年实训\text\booklib.cpp(12) : error C2065: 'b' : undeclared identifier
H:\2014年实训\text\booklib.cpp(16) : error C2065: 'book' : undeclared identifier
H:\2014年实训\text\booklib.cpp(16) : error C2109: subscript requires array or pointer type
H:\2014年实训\text\booklib.cpp(16) : error C2106: '=' : left operand must be l-value
H:\2014年实训\text\booklib.cpp(20) : warning C4508: 'booklib' : function should return a value; 'void' return type assumed
H:\2014年实训\text\booklib.cpp(22) : error C2182: 'showFace' : illegal use of type 'void'
H:\2014年实训\text\booklib.cpp(22) : fatal error C1903: unable to recover from previous error(s); stopping compilation