Search:

Type: Posts; User: Tclausex

Search: Search took 0.01 seconds.

  1. Replies
    12
    Views
    2,514

    Whoa. Your fundamental misunderstanding of...

    Whoa. Your fundamental misunderstanding of structs and how to use format strings with scanf functions is really killing you here.

    I'm not sure where you are getting the number 100 or 50, but...
  2. Replies
    12
    Views
    2,514

    Yes, and no. You'll need to use the negated...

    Yes, and no. You'll need to use the negated scanset instead of %s because you don't want the commas. %d will work as is, and you need literal commas after each specifier to eat up the comma. And a...
  3. Replies
    12
    Views
    2,514

    Copying and pasting can be dangerous coding. Why...

    Copying and pasting can be dangerous coding. Why are you fwrite'ing?


    You stated it was a text file, so open it as a text file. Also, you should always check that the file open was successful:...
Results 1 to 3 of 3