http://pw1.netcom.com/~tjensen/ptr/pointers.htm
That was given to me when i asked for a guide on pointers. I have to admit, it helped me understand them a bit better. I hope it helps.
Type: Posts; User: Muzzaro
http://pw1.netcom.com/~tjensen/ptr/pointers.htm
That was given to me when i asked for a guide on pointers. I have to admit, it helped me understand them a bit better. I hope it helps.
Ok i've gone through that guide, it was pretty good, although some of it was a bit over my head so far.
I see it would be easier to use pointers to put the file into dictionary, but while...
Argh sorry. The working 'dictionary' is hardcoded in the way i put in. The one i'm using where i'm getting undone, is literally as you have said (with MAX_WORD and MAX_LETTER) as defines instead.
...
Hi, for testing, the dictionary is something like
char *Dictionary[] = {"etc", "etc", "etc"};
Urgh. That's true about y. That explains why before the program crashes, i get a display of...
Ah so fgets into the word buffer, then scan over the word buffer to put it into the dictionary?
I think the code above with my sscanf is wrong anyway. I need to go from file to wordbuffer, then...
I'm checking a few sites about sscanf (amazing how many sites have the same text on them), but i'm not sure i've got this fully.
It analyses the string for values, and then puts the values into...
Hi, i'm new, a uni student in the UK looking for some help on a uni assignment.
I have had the work marked off with a provisional grade for if it functions correctly, but we've now got the weekend...