Home
C / ANSI-C
assert.h
Console
ctype.h
Data Structure Algorithm
Data Type
Development
File
Function
Language Basics
Macro Preprocessor
Math
math.h
Memory
Pointer
setjmp.h
signal.h
Small Application
stdio.h
stdlib.h
String
string.h
Structure
time.h
wctype.h
File Open « File « C / ANSI-C
C / ANSI-C
File
File Open
1.
Get file name from command line and open the file
2.
Open a file and close it
3.
Reopen a file
4.
Open a file: how to use fopen
5.
Reopen a stream with a different file and mode: how to use freopen
6.
Open a file for read