Search:

Type: Posts; User: carderne

Search: Search took 0.00 seconds.

  1. Replies
    3
    Views
    28,657

    haha, thanks that sorted it. I can't remember why...

    haha, thanks that sorted it. I can't remember why I used the 'b' in the first place...

    cheers
  2. Replies
    3
    Views
    28,657

    newline with fprintf()

    I'm using fprintf to print strings to a file, but I can't get it to make a new line.

    Here's my code:


    char buffer[80];
    FILE *f;
    f = fopen ("tester.txt", "wb");
    fprintf(f,...
Results 1 to 2 of 2