How do u Open any file within a C program ?

March 3, 2011 at 17:17:50
Specs: Windows7, Pentium3/ 256mb
I just wanted to know if v could include a command line within the c program. I wanted a file to open during the output of the program.
How do i do it? Do i need any special header file?

Thanks for ur time :)


See More: How do u Open any file within a C program ?

Report •


#1
March 3, 2011 at 23:53:23
Use either the "open" or the "fopen" library call. This is basic stuff that you will find in any book on C programming.

Report •

#2
March 4, 2011 at 05:29:43
Thanks :)

Report •
Related Solutions


Ask Question