Ok, i've never ran a file that contains and argument in the main such as main(*****,****). When you compile the functin in Linux one types 'gcc foo.c' but then when i try and run the file './a.out' I notice that you need more than this to run the program. Ok I'm not making any sense but what I...
ok, this is my problem. I'm running an infinite loop where i am gathering data and writing it to a file. I want to be able to check the stdin so the user can input 'q' or something like that and then break the loop. The problem is that scanf(), getchar(), getc(), etc stop the loop and wait...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.