Ok. I have just recently switched back to C/C++ from JAVA, since XP was installed on the Windows box that i used to have, and i wasn't allowed to install any C++ stuff... But now i have a linuxbox and i am having to start all over again. Essentintially. I haven't had time to locate my old C/C++ books to look my questions up in, but for now i have a really basic question that that probably won't answer:
[EDIT] Ignore this question, i found g++ [/EDIT]
Does linux gcc have both C and C++ libraries? How do i tell it to use one/the other of these?
Why does my IRC client not compile under (what i think is) C++? It complains about the last parameter of the accept( ) not being able to cast from an int* to a socklen_t* or something. Any help would be greatly appreciated!
[EDIT] Here is the error from g++
server.c: In function `int main ()':
server.c:71: cannot convert `int *' to `socklen_t *' for argument `3'
to `accept (int, sockaddr *, socklen_t *)'