jochus@Jochus ~/Desktop/ftp-client.rar_FILES $ g++ FTPClient.cpp FTPClient.cpp:142:2: let op: geen newline aan einde van bestand FTPClient.cpp: In function ‘int main(int, char**)’: FTPClient.cpp:51: interne fout ‘sendrecvmsg’ was not declared in this scope FTPClient.cpp:56: interne fout ‘sendrecv’ was not declared in this scope FTPClient.cpp:57: interne fout ‘schrijfhelp’ was not declared in this scope FTPClient.cpp:58: interne fout expected `;' before ‘cout’ FTPClient.cpp:64: interne fout ‘enterpassivemode’ was not declared in this scope FTPClient.cpp:69: interne fout ‘enterpassivemode’ was not declared in this scope FTPClient.cpp:74: interne fout ‘enterpassivemode’ was not declared in this scope FTPClient.cpp:75: interne fout ‘download’ was not declared in this scope FTPClient.cpp: In function ‘void enterpassivemode(int*, int*, char*)’: FTPClient.cpp:100: interne fout ‘sendrecvmsg’ was not declared in this scope FTPClient.cpp:102: interne fout ‘buff’ was not declared in this scope FTPClient.cpp:102: interne fout ‘parsePassiveMessage’ was not declared in this scope FTPClient.cpp:106: interne fout ‘passvservaddr’ was not declared in this scope FTPClient.cpp: In function ‘void sendrecvmsg(int*, std::string*, char*)’: FTPClient.cpp:123: interne fout request for member ‘c_str’ in ‘cmd’, which is of non-class type ‘std::string*’ FTPClient.cpp:123: interne fout request for member ‘length’ in ‘cmd’, which is of non-class type ‘std::string*’ FTPClient.cpp:125: interne fout invalid conversion from ‘int’ to ‘int*’ FTPClient.cpp:125: interne fout initialising argument 1 of ‘void ontvangmsg(int*, char*)’ FTPClient.cpp: In function ‘void download(std::string, int*, std::string*, char*)’: FTPClient.cpp:132: interne fout cannot convert ‘std::basic_string, std::allocator >’ to ‘std::string*’ in assignment FTPClient.cpp:133: interne fout invalid conversion from ‘int’ to ‘int*’ FTPClient.cpp:133: interne fout initialising argument 1 of ‘void sendrecvmsg(int*, std::string*, char*)’ FTPClient.cpp:134: interne fout ‘datafd’ was not declared in this scope FTPClient.cpp:138: interne fout ‘datafd’ was not declared in this scope FTPClient.cpp:141: interne fout invalid conversion from ‘int’ to ‘int*’ FTPClient.cpp:141: interne fout initialising argument 1 of ‘void ontvangmsg(int*, char*)’