Search:

Type: Posts; User: fiveco

Search: Search took 0.00 seconds.

  1. Replies
    11
    Views
    1,670

    well I think I found a way of writing correctly...

    well I think I found a way of writing correctly to a file...
    Thanks a lot guys your help is much appreciated!!!
    If I have more problems I'll post them.
    Once again, thank you very much!

    Regards,...
  2. Replies
    11
    Views
    1,670

    any help guys? :(

    any help guys? :(
  3. Replies
    11
    Views
    1,670

    nevermind all the previous. I will do something...

    nevermind all the previous.
    I will do something simple
    given that the "httpd.conf" file is something like that


    MaxKeepAliveRequests 0
    Timeout 0


    the fscanf i am using looks like that
  4. Replies
    11
    Views
    1,670

    wow great tips!! I lost ya somewhere guys though...

    wow great tips!!
    I lost ya somewhere guys though : /

    my


    while (fscanf(ifp, "%s %s", fstring, &score) == 2) {
    fprintf(ofp, "%s %s\n", fstring, argv[2]);
    ...
  5. Replies
    11
    Views
    1,670

    actually the file isnt always the same in size...

    actually the file isnt always the same in size what i left out (since it didnt matter)
    was that if the user types for example updconf hello 55 it will add the word hello and the value 55 next to it...
  6. Replies
    11
    Views
    1,670

    Thanks for the tips! so you think strstr() is...

    Thanks for the tips!

    so you think strstr() is needed to find the variable in a file?
    How can i do that with fscanf and fprintf (or i cant?)

    As far as I know fscanf and fprintf is a bad choice...
  7. Replies
    11
    Views
    1,670

    file manipulation help

    Hi all,
    first of all congrats about this great forum it has been a real help for me since I started to learn C (that is 3 months ago :) ).
    As you understand I am a complete newbie so I would like...
Results 1 to 7 of 7