ANSI C (C99) has no concept of the outside world beyond your files, video (stdout) and keyboard (stdin).
That is why it is so portable. Everything else that goes on with your computer is dependant on the OS and the hardware.
Yes, you can use C to do what you want but you are going to have to use OS and hardware dependent code that is unlikely to work on any other computer with any other operating system.
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.