Search:

Type: Posts; User: _JjC::

Search: Search took 0.00 seconds.

  1. Thread: writing to file

    by _JjC::
    Replies
    0
    Views
    859

    writing to file

    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...
  2. Replies
    9
    Views
    1,888

    the thing is that i want to retrieve values from...

    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
  3. Replies
    9
    Views
    1,888

    brethren, brethren the thing still a give the same

    same o same o!

    this the same three lines
  4. Replies
    9
    Views
    1,888

    only three lines are being returned

    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...
  5. Thread: Goto statement

    by _JjC::
    Replies
    2
    Views
    1,434

    Goto statement

    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...
  6. Replies
    9
    Views
    1,888

    HELP! infinite loop

    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-----*/...
Results 1 to 6 of 6