Jul 20, 2003 #1 xTiamatx Programmer Joined Jul 20, 2003 Messages 22 Location 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 Joined Nov 26, 2002 Messages 368 Location 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 Joined Jul 20, 2003 Messages 22 Location US oh, thanks! Tiamat Upvote 0 Downvote