Jul 20, 2003 #1 xTiamatx Programmer Jul 20, 2003 22 US Hi, I'm reading a book on multiplayer game programming, the writer failed to explain one function, atoi, could someone tell me what it does???
Hi, I'm reading a book on multiplayer game programming, the writer failed to explain one function, atoi, could someone tell me what it does???
Jul 20, 2003 #2 apatterno Programmer Nov 26, 2002 368 US #include <stdlib.h> int atoi(const char *nptr); All it does is convert a string to an integer. I REALLY hope that helps. Will Upvote 0 Downvote
#include <stdlib.h> int atoi(const char *nptr); All it does is convert a string to an integer. I REALLY hope that helps. Will
Jul 20, 2003 Thread starter #3 xTiamatx Programmer Jul 20, 2003 22 US oh, thanks! Tiamat Upvote 0 Downvote