Search:

Type: Posts; User: AndiPersti

Search: Search took 0.01 seconds.

  1. Replies
    49
    Views
    4,772

    fscanf(inputFILE, "%s%s", s, c); How does...

    fscanf(inputFILE, "%s%s", s, c);


    How does the first line of your text file look like?
    You should always check the return value of fscanf(). In your case it should be 2.

    Bye, Andreas
  2. Replies
    49
    Views
    4,772

    So how about testing your code snippets before...

    So how about testing your code snippets before posting them?

    Bye, Andreas
Results 1 to 2 of 2