the following code i am using to write to a file. i am not getting a file open error, but i am getting that the message authored no data in file. however before this function is called the same file...
Type: Posts; User: _JjC::
the following code i am using to write to a file. i am not getting a file open error, but i am getting that the message authored no data in file. however before this function is called the same file...
the thing is that i want to retrieve values from particular positin in the file.
for instance the following
1
Jose
Martin
1234
2
Shane
Garri
same o same o!
this the same three lines
while (!feof(fp))
{
fgets(buf, sizeof(buf), fp);
printf ("Line %4d: %s", i, buf);
i++;
}
the code above is only printing the first three lines of the my file, the one it...
when i have goto master, should the _menu() not be executed again. what is happening is that the function is not being executed and the switch is executing the next case in the list. help me out...
this function that i have written is generating some infinite loop when reading from the file. if some could help i would be very greatful.
/*validates an account if it exists-----*/...