Re: [NEWBIE][CODE] Files

From: Its Me Christian (cd_fl@hotmail.com)
Date: 03/26/01


thankyou for the help. it did work but i just want to know how i could make
it save to an integer.

right now i have got it like
strcpy(clan[num_of_clans].id, strtok(NULL, "\r\n")); but if i make id and
int in the struct then it comes up with an error. and if i take the strtok()
away and manually hardcode a number in there it works. so is there a way
that strtok can make it return as a integer.

p.s. i know the code was really messy but it was just a copy of do_file
command in the circle ftp and i have not had much time to change it to much.
so that is why it was soo messy :)

thanx again for the help, i really realy do appreciate it.
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/04/01 PST