Im new to mysql and mysql++ api. Im trying to compile the examples from mysql.com for mysql++, and the header is giving me errors. I'm including all the headers i think... here are the errors:

c:\mysql\include\mysql_com.h(116) : error C2146: syntax error : missing ';' before identifier 'fd'
c:\mysql\include\mysql_com.h(116) : error C2501: 'st_net:OCKET' : missing storage-class or type specifiers
c:\mysql\include\mysql_com.h(116) : error C2501: 'st_net::fd' : missing storage-class or type specifiers
c:\mysql\include\mysql_com.h(180) : error C2065: 'SOCKET' : undeclared identifier
c:\mysql\include\mysql_com.h(180) : error C2146: syntax error : missing ')' before identifier 's'
c:\mysql\include\mysql_com.h(181) : error C2059: syntax error : ')'
c:\Documents and Settings\Administrator\Desktop\php\c++ api\mysql++-1.7.9\sqlplusint\defs(15) : error C2632: 'long' followed by 'long' is illegal
c:\Documents and Settings\Administrator\Desktop\php\c++ api\mysql++-1.7.9\sqlplusint\defs(16) : error C2632: 'long' followed by 'long' is illegal
c:\Documents and Settings\Administrator\Desktop\php\c++ api\mysql++-1.7.9\sqlplusint\exceptions.hh(65) : error C2629: unexpected 'MysqlBadQuery ('
c:\Documents and Settings\Administrator\Desktop\php\c++ api\mysql++-1.7.9\sqlplusint\exceptions.hh(65) : error C2334: unexpected token(s) preceding ':'; skipping apparent function body
c:\Documents and Settings\Administrator\Desktop\php\c++ api\mysql++-1.7.9\sqlplusint\exceptions.hh(66) : error C2146: syntax error : missing ';' before identifier 'error'
c:\Documents and Settings\Administrator\Desktop\php\c++ api\mysql++-1.7.9\sqlplusint\exceptions.hh(66) : error C2501: 'MysqlBadQuery::string' : missing storage-class or type specifiers
c:\Documents and Settings\Administrator\Desktop\php\c++ api\mysql++-1.7.9\sqlplusint\exceptions.hh(66) : error C2501: 'MysqlBadQuery::error' : missing storage-class or type specifiers
c:\Documents and Settings\Administrator\Desktop\php\c++ api\mysql++-1.7.9\sqlplusint\exceptions.hh(73) : error C2146: syntax error : missing ';' before identifier 'data'
c:\Documents and Settings\Administrator\Desktop\php\c++ api\mysql++-1.7.9\sqlplusint\exceptions.hh(73) : error C2501: 'MysqlBadConversion::data' : missing storage-class or type specifiers
c:\Documents and Settings\Administrator\Desktop\php\c++ api\mysql++-1.7.9\sqlplusint\type_info1.hh(52) : error C2143: syntax error : missing ';' before '<'
c:\Documents and Settings\Administrator\Desktop\php\c++ api\mysql++-1.7.9\sqlplusint\type_info1.hh(52) : error C2501: 'mysql_ti_sql_type_info_lookup::map' : missing storage-class or type specifiers
c:\Documents and Settings\Administrator\Desktop\php\c++ api\mysql++-1.7.9\sqlplusint\type_info1.hh(52) : error C2238: unexpected token(s) preceding ';'
c:\Documents and Settings\Administrator\Desktop\php\c++ api\mysql++-1.7.9\sqlplusint\type_info1.hh(163) : warning C4800: 'const unsigned int' : forcing value to bool 'true' or 'false' (performance warning)
c:\Documents and Settings\Administrator\Desktop\php\c++ api\mysql++-1.7.9\sqlplusint\type_info1.hh(176) : warning C4800: 'int' : forcing value to bool 'true' or 'false' (performance warning)
c:\Documents and Settings\Administrator\Desktop\php\c++ api\mysql++-1.7.9\sqlplusint\type_info1.hh(180) : warning C4800: 'int' : forcing value to bool 'true' or 'false' (performance warning)
c:\Documents and Settings\Administrator\Desktop\php\c++ api\mysql++-1.7.9\sqlplusint\type_info1.hh(184) : warning C4800: 'int' : forcing value to bool 'true' or 'false' (performance warning)
c:\Documents and Settings\Administrator\Desktop\php\c++ api\mysql++-1.7.9\sqlplusint\type_info1.hh(188) : warning C4800: 'int' : forcing value to bool 'true' or 'false' (performance warning)
c:\Documents and Settings\Administrator\Desktop\php\c++ api\mysql++-1.7.9\sqlplusint\const_string1.hh(70) : error C2143: syntax error : missing ';' before '&'
c:\Documents and Settings\Administrator\Desktop\php\c++ api\mysql++-1.7.9\sqlplusint\const_string1.hh(70) : error C2433: 'ostream' : 'inline' not permitted on data declarations
c:\Documents and Settings\Administrator\Desktop\php\c++ api\mysql++-1.7.9\sqlplusint\const_string1.hh(70) : error C2501: 'ostream' : missing storage-class or type specifiers
c:\Documents and Settings\Administrator\Desktop\php\c++ api\mysql++-1.7.9\sqlplusint\const_string1.hh(70) : error C2065: 'o' : undeclared identifier
c:\Documents and Settings\Administrator\Desktop\php\c++ api\mysql++-1.7.9\sqlplusint\const_string1.hh(70) : error C2297: '&' : illegal, right operand has type ''unknown-type''
c:\Documents and Settings\Administrator\Desktop\php\c++ api\mysql++-1.7.9\sqlplusint\const_string1.hh(70) : error C2059: syntax error : 'const'
c:\Documents and Settings\Administrator\Desktop\php\c++ api\mysql++-1.7.9\sqlplusint\const_string1.hh(70) : error C2143: syntax error : missing ';' before '{'
c:\Documents and Settings\Administrator\Desktop\php\c++ api\mysql++-1.7.9\sqlplusint\const_string1.hh(70) : error C2447: '{' : missing function header (old-style formal list?)
C:\Program Files\Microsoft Visual Studio .NET\Vc7\include\useoldio.h(29) : warning C4995: '_OLD_IOSTREAMS_ARE_DEPRECATED': name was marked as #pragma deprecated
C:\Program Files\Microsoft Visual Studio .NET\Vc7\include\ios.h(159) : error C2143: syntax error : missing ';' before '*'
C:\Program Files\Microsoft Visual Studio .NET\Vc7\include\ios.h(159) : error C2433: 'ios:stream' : 'inline' not permitted on data declarations
C:\Program Files\Microsoft Visual Studio .NET\Vc7\include\ios.h(159) : error C2501: 'ios:stream' : missing storage-class or type specifiers
C:\Program Files\Microsoft Visual Studio .NET\Vc7\include\ios.h(159) : error C2061: syntax error : identifier 'ostream'
C:\Program Files\Microsoft Visual Studio .NET\Vc7\include\ios.h(159) : error C2501: 'ios::tie' : missing storage-class or type specifiers
C:\Program Files\Microsoft Visual Studio .NET\Vc7\include\ios.h(159) : warning C4183: 'tie': missing return type; assumed to be a member function returning 'int'
C:\Program Files\Microsoft Visual Studio .NET\Vc7\include\ios.h(160) : error C2143: syntax error : missing ';' before '*'
C:\Program Files\Microsoft Visual Studio .NET\Vc7\include\ios.h(160) : error C2433: 'ios:stream' : 'inline' not permitted on data declarations
C:\Program Files\Microsoft Visual Studio .NET\Vc7\include\ios.h(160) : error C2501: 'ios:stream' : missing storage-class or type specifiers
C:\Program Files\Microsoft Visual Studio .NET\Vc7\include\ios.h(160) : error C2501: 'ios::tie' : missing storage-class or type specifiers
C:\Program Files\Microsoft Visual Studio .NET\Vc7\include\ios.h(160) : warning C4183: 'tie': missing return type; assumed to be a member function returning 'int'
C:\Program Files\Microsoft Visual Studio .NET\Vc7\include\ios.h(219) : error C2143: syntax error : missing ';' before '*'
C:\Program Files\Microsoft Visual Studio .NET\Vc7\include\ios.h(219) : error C2501: 'ios:stream' : missing storage-class or type specifiers
C:\Program Files\Microsoft Visual Studio .NET\Vc7\include\ios.h(219) : error C2501: 'ios::x_tie' : missing storage-class or type specifiers
C:\Program Files\Microsoft Visual Studio .NET\Vc7\include\ios.h(272) : error C2143: syntax error : missing ';' before '*'
C:\Program Files\Microsoft Visual Studio .NET\Vc7\include\ios.h(272) : error C2433: 'ostream' : 'inline' not permitted on data declarations
C:\Program Files\Microsoft Visual Studio .NET\Vc7\include\ios.h(272) : error C2501: 'ostream' : missing storage-class or type specifiers
C:\Program Files\Microsoft Visual Studio .NET\Vc7\include\ios.h(272) : error C2086: 'int ostream' : redefinition
c:\Documents and Settings\Administrator\Desktop\php\c++ api\mysql++-1.7.9\sqlplusint\const_string1.hh(70) : see declaration of 'ostream'
C:\Program Files\Microsoft Visual Studio .NET\Vc7\include\ios.h(272) : error C2065: '_os' : undeclared identifier
C:\Program Files\Microsoft Visual Studio .NET\Vc7\include\ios.h(272) : error C2297: '*' : illegal, right operand has type ''unknown-type''
C:\Program Files\Microsoft Visual Studio .NET\Vc7\include\ios.h(272) : error C2761: 'tie' : member function redeclaration not allowed
C:\Program Files\Microsoft Visual Studio .NET\Vc7\include\ios.h(272) : fatal error C1903: unable to recover from previous error(s); stopping compilation