Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. darceo

    main(int argc, char *argv[])

    i actually found that example on the web and compiled it and couldn't get it to work thus the reason for my post. when i did that i was trying to learn how the write to a file, open a file and so forth. I was just curios, i am not a profesional programer or anything like that. now i know all...
  2. darceo

    main(int argc, char *argv[])

    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...
  3. darceo

    How do check the stdin without stopping?

    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...

Part and Inventory Search

Back
Top