Code:#include <condefs.h> #include <stdlib.h> #include <stdio.h> #include <string.h> #include <time.h> #include <windows.h> #include <winsock.h> fd_set fdread; struct ItemNode *itemlist = NULL; int S; //socket WSADATA wsaData; if((S = Connect(CHATSERVER, CHATPORT)) == -1) //error line { fprintf(stderr, "Connection to chat server failed!"); exit(1); }
[C++Error] ybot.cpp(70): Call of nonfunction.
anyone know why i would get this error?
I use Borland C++ Builder 3. i have included:
Thnaks.