ok i have a problem in my main.cpp of my client program, and i have been staring at the screen for so long i can't see what the problem is [code]c:\documents and settings\computing\desktop\client2\main.cpp(17) : error C2660: 'connecttoserver' : function does not take 0 parameters mesagesend.cpp Error executing cl.exe.[/code] [code]#include "connecting.h" #include #include "mesagesend.h" #include #include using namespace std; int main() { connecting client; mesagesend chat; client.connecttoserver(); chat.sendmessage(); client.disconnectfromserver(chat.mysocket); return 0; }[/code]
C
chris28583
@chris28583