Thanks very much for your help, have got the code working now.
Type: Posts; User: tay_highfield
Thanks very much for your help, have got the code working now.
Hi all,
Background - Am trying to allocate a file a number of points depending on how relavent it it to a word entered by a user. At present the program finds which line the word occurs on and...
Thanks very much for the help.
A very simple problem that has now been sorted. Couldn't see the wood for the trees!
Hi all,
Had a program that worked and compiled correctly and have since added the following function.
int point()
{
FILE *pp;
int findpoint=0, linepoint=1;
char...
Hi all,
Am trying to write a piece of C code that will return the font size of a word in either a .txt file or a .doc file.
My code so far reads each word as a string and then outputs the...
Thanks Monster that was great help. Have changed my code as you suggested.
Only one more little problem. I am reading the text file as a string, is there anyway i can stop the program from...
Sorry for posting again.
I have updated the previous code but still no luck. I am trying to count the number of characters in the code, the number printed is always the number to which i...
Hi all,
Am trying to write some code that will read a simple text file and return what is placed in the text file along with how many characters there are. Reading the file works but am having a...