Search:

Type: Posts; User: Ferris

Search: Search took 0.01 seconds.

  1. Replies
    10
    Views
    15,825

    Thanks laserlight and itme86! I think I...

    Thanks laserlight and itme86! I think I understand. Make a mental note: when debugging, make sure you actually properly code your debugging code.

    Indeed, I used printf incorrectly, causing all...
  2. Replies
    10
    Views
    15,825

    Yes, this is what I thought, but I don't get the...

    Yes, this is what I thought, but I don't get the desired behaviour when I try to use it as such. Perhaps my use of puts is wrong, however, changing the code to printf still outputs 'his is a test'...
  3. Replies
    10
    Views
    15,825

    I know of the existence of fgetc, but it is...

    I know of the existence of fgetc, but it is cumbersome for my application, since it needs read a line, and then perform multiple operations on it. Using fgetc would mean reading, rewinding, skipping...
  4. Replies
    10
    Views
    15,825

    Thanks for your reply! Perhaps I should have...

    Thanks for your reply!

    Perhaps I should have clarified this a bit more. I don't want to read the entire string, that I can do. What I want to do is read a single character from it. I would have...
  5. Replies
    10
    Views
    15,825

    Reading a file using fgets

    Hey all,

    For a few days now I've been trying on and off to figure out a problem while using fgets, and I can't seem to crack it. The issue is I want to use fgets to read a line, dump that output...
Results 1 to 5 of 5