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...
Type: Posts; User: Salem
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...
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.