Zdravím,
skúšal som niečo s mysql, no dev-cpp mi píše chyby v knižnici :(
3 C:\Program Files\Dev-Cpp\include\mysql.h:71, from main.cpp
In file included from C:/Program Files/Dev-Cpp/include/mysql.h:71,
from main.cpp
268 C:\Program Files\Dev-Cpp\include\mysql_com.h
`SOCKET' does not name a type
437 C:\Program Files\Dev-Cpp\include\mysql_com.h
`SOCKET' was not declared in this scope
437 C:\Program Files\Dev-Cpp\include\mysql_com.h
expected primary-expression before "const"
437 C:\Program Files\Dev-Cpp\include\mysql_com.h
expected primary-expression before "unsigned"
438 C:\Program Files\Dev-Cpp\include\mysql_com.h
expected primary-expression before "unsigned"
438 C:\Program Files\Dev-Cpp\include\mysql_com.h
initializer expression list treated as compound expression
Smiem vedieť kde je chyba? Ďakujem.
Pripájam aj knižnicu