have been attempting to change my code, but ive got to get off to bed just now. will be back tomorrow though
-tim
Type: Posts; User: timS
have been attempting to change my code, but ive got to get off to bed just now. will be back tomorrow though
-tim
ah your right, will fix that bit
Using the delimiter loop from my original code, something like this is what I interpreted could be possible:
while (delimiter != NULL)
{
printf("%s",...
ok, bearing in mind I know this doesnt work. Ive been a bit hard pressed just working out how to do it:
strcpy(RPGStructTester.PlayerClass);
printf("players class is: %s\n",...
woops sorry I thought the tags were for saving the formatting. still, I wont make the mistake again. so any clues? ;)
I just started learning c recently, and im trying to put it to 'good' use by writing a small program that can take a string of words and numbers and sort them into a struct array, heres what Ive come...