Search:

Type: Posts; User: Salem

Search: Search took 0.57 seconds.

  1. Replies
    14
    Views
    6,266

    Well the first thing is to read this ->...

    Well the first thing is to read this -> SourceForge.net: cpwiki
    To fix your unholy trinity of void main, gets() and fflush(stdin)

    > But I'm stuck with 9 errors I can't fix. :/
    Only 9?
    Anyone...
  2. Replies
    14
    Views
    6,266

    Well the first hint would be read up on fgets()...

    Well the first hint would be read up on fgets() and sscanf()
    Then write some code to read lines of text from the user, then use sscanf() to extract data into an instance of your structure.
Results 1 to 2 of 2