SlideShare a Scribd company logo
-1-
V^d]Zg=e
V^d]o`4]eV
 ¢¡¤£¦¥¨§¨ ©§
ZgJUeo5HSe7QeUdQ
;dGJ|eqGU
4|eKVoVj`LPeU4e[
pOL4eV]`LMJoVhUL
=jw`^L•ZUoVhUL
VcMM7`TQgZoH`V™pXc5dxLH`L
rL4eVQdELeqNVp4VT
G–ZUSeeVcGdM]l:
!#
$% ('¢'
)#0
12 34 5768 9@
A¤BDCE
^dZ5–`oVjw`:sRX”
;kGNVc]:7™JdwZsN
o5–er;^Xd44eV;dG4eV4dMsRX”
;kGNVc]:7™oQec VeUXco`hUGHeTJhwVcMksZ–rLrM:eL
`KgMeU4eVoNŒGsRX” pMMPŽ4^dG5–`Jhw
`KgMeU4eVo5hUL5–`TlXo5–esNrLsRX”
`KgMeU4eV`•eL5–`TlX;e4sRX”
`KgMeU4eVNŒGsRX”
ZgKh4eV]`LpXc4g;4VVT
G|eoLgL]`LG–ZU4eVMVVUeUNVc4`MpO•Lr]
G|eoLgL4eV]`LG–ZU4eVo5hULpXcp]G:HdZ`U•e:G–ZUqNVp4VToJ`V™qMh
r=–`gLoH`V™oLJoQjw`pLcL|ep^X•:5–`TlXJhwo4hwUZ5–`:
r^–HdZpJLLd4[i4e``4TeJ|eHdZ`U•e:JFF^L–e=dxLoVhUL
r^–HdZpJLLd4[i4e``4TeJ|eMe:]•ZL5`:HdZ`U•e:JFF
^L–e=dxLoVhUL
]jw`4eV]`L
o`4]eVNVc4`M4eVMVVUeU;|eLZL^L–e
qNVp4VToJ`V™qMh
:eLJhwT`M^TeU
r^–Ld4[i4eJ|e:eLJhwT`M^TeU;|eLZL5–`
[i4eoQgwToHgTL`4oZXe;e4o`4]eVHeTo`4]eV`–e:`g:^TeUoX5
pXc^TeUoX5MJJhw
4eVZdGOX
ZdGOX;e44eV;GMdLJi4rL]TkG5`:Ld4[i4e
ZdGOX;e44eVJ|epMMPŽ4^dG
ZdGOX;e44eV]`M
o`4]eV`–e:`g:
@`ZgJZd]ZgJU=|eLe@4kXKWWSKWWSZZZNPLWODFWKaNZZLWKDZ
@TLHVhQ;LeVIIXeZdXU™4eVo5hULqNVp4VT7`TQgZoH`V™G–ZUoJ`V™qMh
Mho`vGUlo7=dwL;|e4dG,6%1
-2-
RPSXWHU3URJUDPPLQJ
:NsRX”
EJXPWRUQ5XDQIDLJDG
=LgG5`:sRX”
7H[W)LOHoNLsRX”Jhwo4vM5–`TlX`d45Vc ]eTeVIoNŒGp4–s5sG–G–ZU
WH[WHGLWRUHdZ`U•e:5`:sRX”=LgGLhx 7j`sRX”JhwThLeT]4kX 
W[W

EDW
FoNLH–L
%LQDUILOHoNLsRX”Jhwo4vM5–`TlXsZ– oNLL7•eHdZoX5 HdZ`U•e:5`:
sRX”6LgGLhx7j`sRX”JhwThLeT]4kX 
FRP
H[H
REMoNLH–L
R›:4™=dLJhwo4hwUZ5–`:4dMsRX”
R›:4™=dL4eVoNŒGNŒG4eV`•eLo5hULsRX”
4eVoNŒGsRX”IRSHQ
4eV`•eLsRX”IUHDG
4eVo5hULsRX”IZULWH
4eVNŒGsRX”IFORVH
sRX”Q`UL™oH`V™ ),/(
q^TGrL4eVoNŒGsRX”
PRGH 4eVJ|e:eL
U
Z
D
U
Z
D
W
E
oNŒGsRX”oQjw`4eV`•eL5–`TlX
]V–e:sRX”r^T•oQjw`o5hUL5–`TlX
oNŒGsRX”oQjw`oQgwT5–`TlXJ–eUsRX”
oNŒGsRX”o4•eoQjw``•eLpXco5hUL5–`TlX
]V–e:sRX”r^T•oQjw`4eVp4–s55–`TlX
oNŒGsRX”oQjw`p4–s55–`TlXJhw]•ZLJ–eU5`:sRX”
oNŒGsRX”rLq^TG WH[W
oNŒGsRX”rLq^TG ELQDU
-3-
^JFFF`
ILOHUHDGWH[WPRGH
#include stdio.h
#include conio.h
int main(void)
{
FILE *fp;
char FileName[64];
char a;
clrscr();
printf(filename = );
scanf( %s , FileName);
fp = fopen(FileName, r);
if(fp == NULL)
exit(-1);
do{
a = getc(fp);
printf(%c, a);
}while(a != EOF);
fclose(fp);
getch();
}
filename = gcc1201.c
#include stdio.h
#include conio.h
int main(void)
{
FILE *fp;
char FileName[64];
char a;
clrscr();
printf(filename = );
scanf(%s,FileName);
fp = fopen(FileName,r);
if(fp == NULL)
exit(-1);
do{
a = getc(fp);
printf(%c, a)
}while( a != EOF );
fclose(fp);
getch();
}
-4-
^JFFF`
)LOHZULWHWH[WPRGH
#include stdio.h
#include conio.h
int main(void)
{
FILE *fp;
char FileName[64];
char a;
clrscr();
printf(new file name = );
scanf(%s,FileName);
fp = fopen(FileName,w+);
if(fp == NULL)
exit(-1);
do
{
scanf(%c, a );
if( a == '~') break;
if( putc( a, fp) == NULL) exit(-1);
}while(1);
fclose(fp);
}
new file name = test.tx
hello world
1234567890~
-5-
^JFFF`
ILOHZULWHUHDGISULQWIDQGIVFDQI
#include stdio.h
#include conio.h
int main(void)
{
FILE *fp;
char FileName[64];
float a = 123.4567890;
char b[16] = HelloWorld;
int c = 123;
clrscr();
printf(new file name = );
scanf(%s,FileName);
fp = fopen(FileName,w);
if(fp == NULL) exit(-1);
fprintf( fp, %f %s %d, a, b, c);
fclose(fp);
a = 0;
strcpy( b, );
c = 0;
printf(open file name = );
scanf(%s,FileName);
fp = fopen(FileName,r);
if(fp == NULL) exit(-1);
fscanf( fp, %f %s %d, a, b, c);
printf(%f %s %d, a, b, c);
fclose(fp);
getch();
}
new file name = test.dat
open file name = test.dat
123.456787 Hello 0

More Related Content

What's hot

ใบความรู้ที่ 2.15 ฟอร์ม-2
ใบความรู้ที่ 2.15 ฟอร์ม-2ใบความรู้ที่ 2.15 ฟอร์ม-2
ใบความรู้ที่ 2.15 ฟอร์ม-2
Samorn Tara
 
Phap luat giao dich dien tu
Phap luat giao dich dien tuPhap luat giao dich dien tu
Phap luat giao dich dien tu
Hung Nguyen
 
iPhone勉強会資料
iPhone勉強会資料iPhone勉強会資料
iPhone勉強会資料
Shoot Morii
 
21stchapter
21stchapter21stchapter
21stchapter
mtalupuru
 
CenturyLink's Prism online ads
CenturyLink's Prism online adsCenturyLink's Prism online ads
CenturyLink's Prism online ads
Amy Shaw
 
Al Fazl International - 1st January 2016 Weekly UK
Al Fazl International - 1st January  2016 Weekly UKAl Fazl International - 1st January  2016 Weekly UK
Al Fazl International - 1st January 2016 Weekly UK
muzaffertahir9
 
A research paper introduction of Universal transformers
A research paper introduction of Universal transformersA research paper introduction of Universal transformers
A research paper introduction of Universal transformers
Keigo Kawamura
 
3rdchapter
3rdchapter3rdchapter
3rdchapter
mtalupuru
 
Value Stream Mapping: Undertanding the Current State - Webinar from 5S Supply
Value Stream Mapping: Undertanding the Current State - Webinar from 5S SupplyValue Stream Mapping: Undertanding the Current State - Webinar from 5S Supply
Value Stream Mapping: Undertanding the Current State - Webinar from 5S Supply
5S Supply
 
Documentos financieros
Documentos financierosDocumentos financieros
Documentos financieros
Isela Yedith
 
Al Fazl International 24 Apr 2015 - Weekly
Al Fazl International 24 Apr 2015 - WeeklyAl Fazl International 24 Apr 2015 - Weekly
Al Fazl International 24 Apr 2015 - Weekly
muzaffertahir9
 
Acórdão ccz
Acórdão cczAcórdão ccz
Acórdão ccz
Acórdão cczAcórdão ccz
Cn traveler chine hot list 2013 - Miguel Guedes de Sousa
Cn traveler chine hot list 2013 - Miguel Guedes de SousaCn traveler chine hot list 2013 - Miguel Guedes de Sousa
Cn traveler chine hot list 2013 - Miguel Guedes de Sousa
Miguel Guedes de Sousa
 
Reglamento general de la ley nº 300057, ley del servicio civil decreto suprem...
Reglamento general de la ley nº 300057, ley del servicio civil decreto suprem...Reglamento general de la ley nº 300057, ley del servicio civil decreto suprem...
Reglamento general de la ley nº 300057, ley del servicio civil decreto suprem...
Manolo Kachay
 
How to develop a cbt
How to develop a cbtHow to develop a cbt
How to develop a cbt
led4lgus
 
เจ้าหน้าที่บริหารงานคอมพิวเตอร์
เจ้าหน้าที่บริหารงานคอมพิวเตอร์เจ้าหน้าที่บริหารงานคอมพิวเตอร์
เจ้าหน้าที่บริหารงานคอมพิวเตอร์
ประพันธ์ เวารัมย์ แบ่งปันความรู้ส่ความก้าวหน้า
 
March 2019 calender
March 2019 calenderMarch 2019 calender
March 2019 calender
Floodwoodvern
 
สมรรถภาพทางเพศ http://www.ครูภูมิคุ้มกัน.com
สมรรถภาพทางเพศ  http://www.ครูภูมิคุ้มกัน.comสมรรถภาพทางเพศ  http://www.ครูภูมิคุ้มกัน.com
สมรรถภาพทางเพศ http://www.ครูภูมิคุ้มกัน.com
ผู้ชายบ้านๆ รักอิสระ
 
Nuno Bernardo: Financing Transmedia?
Nuno Bernardo: Financing Transmedia? Nuno Bernardo: Financing Transmedia?
Nuno Bernardo: Financing Transmedia?
power to the pixel
 

What's hot (20)

ใบความรู้ที่ 2.15 ฟอร์ม-2
ใบความรู้ที่ 2.15 ฟอร์ม-2ใบความรู้ที่ 2.15 ฟอร์ม-2
ใบความรู้ที่ 2.15 ฟอร์ม-2
 
Phap luat giao dich dien tu
Phap luat giao dich dien tuPhap luat giao dich dien tu
Phap luat giao dich dien tu
 
iPhone勉強会資料
iPhone勉強会資料iPhone勉強会資料
iPhone勉強会資料
 
21stchapter
21stchapter21stchapter
21stchapter
 
CenturyLink's Prism online ads
CenturyLink's Prism online adsCenturyLink's Prism online ads
CenturyLink's Prism online ads
 
Al Fazl International - 1st January 2016 Weekly UK
Al Fazl International - 1st January  2016 Weekly UKAl Fazl International - 1st January  2016 Weekly UK
Al Fazl International - 1st January 2016 Weekly UK
 
A research paper introduction of Universal transformers
A research paper introduction of Universal transformersA research paper introduction of Universal transformers
A research paper introduction of Universal transformers
 
3rdchapter
3rdchapter3rdchapter
3rdchapter
 
Value Stream Mapping: Undertanding the Current State - Webinar from 5S Supply
Value Stream Mapping: Undertanding the Current State - Webinar from 5S SupplyValue Stream Mapping: Undertanding the Current State - Webinar from 5S Supply
Value Stream Mapping: Undertanding the Current State - Webinar from 5S Supply
 
Documentos financieros
Documentos financierosDocumentos financieros
Documentos financieros
 
Al Fazl International 24 Apr 2015 - Weekly
Al Fazl International 24 Apr 2015 - WeeklyAl Fazl International 24 Apr 2015 - Weekly
Al Fazl International 24 Apr 2015 - Weekly
 
Acórdão ccz
Acórdão cczAcórdão ccz
Acórdão ccz
 
Acórdão ccz
Acórdão cczAcórdão ccz
Acórdão ccz
 
Cn traveler chine hot list 2013 - Miguel Guedes de Sousa
Cn traveler chine hot list 2013 - Miguel Guedes de SousaCn traveler chine hot list 2013 - Miguel Guedes de Sousa
Cn traveler chine hot list 2013 - Miguel Guedes de Sousa
 
Reglamento general de la ley nº 300057, ley del servicio civil decreto suprem...
Reglamento general de la ley nº 300057, ley del servicio civil decreto suprem...Reglamento general de la ley nº 300057, ley del servicio civil decreto suprem...
Reglamento general de la ley nº 300057, ley del servicio civil decreto suprem...
 
How to develop a cbt
How to develop a cbtHow to develop a cbt
How to develop a cbt
 
เจ้าหน้าที่บริหารงานคอมพิวเตอร์
เจ้าหน้าที่บริหารงานคอมพิวเตอร์เจ้าหน้าที่บริหารงานคอมพิวเตอร์
เจ้าหน้าที่บริหารงานคอมพิวเตอร์
 
March 2019 calender
March 2019 calenderMarch 2019 calender
March 2019 calender
 
สมรรถภาพทางเพศ http://www.ครูภูมิคุ้มกัน.com
สมรรถภาพทางเพศ  http://www.ครูภูมิคุ้มกัน.comสมรรถภาพทางเพศ  http://www.ครูภูมิคุ้มกัน.com
สมรรถภาพทางเพศ http://www.ครูภูมิคุ้มกัน.com
 
Nuno Bernardo: Financing Transmedia?
Nuno Bernardo: Financing Transmedia? Nuno Bernardo: Financing Transmedia?
Nuno Bernardo: Financing Transmedia?
 

Viewers also liked

การใช้ Turbo C ชุดที่ 7 Loop
การใช้ Turbo C ชุดที่ 7 Loopการใช้ Turbo C ชุดที่ 7 Loop
การใช้ Turbo C ชุดที่ 7 Loop
Know Mastikate
 
4121103 การเขียนโปรแกรมและอัลกอริทึ่ม SLIDE 1/7
4121103 การเขียนโปรแกรมและอัลกอริทึ่ม SLIDE 1/74121103 การเขียนโปรแกรมและอัลกอริทึ่ม SLIDE 1/7
4121103 การเขียนโปรแกรมและอัลกอริทึ่ม SLIDE 1/7
Know Mastikate
 
4121103 การเขียนโปรแกรมและอัลกอริทึ่ม SLIDE 2/7
4121103 การเขียนโปรแกรมและอัลกอริทึ่ม SLIDE 2/74121103 การเขียนโปรแกรมและอัลกอริทึ่ม SLIDE 2/7
4121103 การเขียนโปรแกรมและอัลกอริทึ่ม SLIDE 2/7
Know Mastikate
 
Lesson1
Lesson1Lesson1
Lesson1
koyjanpang
 
การใช้ Turbo C ชุดที่ 8 Array
การใช้ Turbo C ชุดที่ 8 Arrayการใช้ Turbo C ชุดที่ 8 Array
การใช้ Turbo C ชุดที่ 8 Array
Know Mastikate
 
4121103 การเขียนโปรแกรมและอัลกอริทึ่ม SLIDE 5/7
4121103 การเขียนโปรแกรมและอัลกอริทึ่ม SLIDE 5/74121103 การเขียนโปรแกรมและอัลกอริทึ่ม SLIDE 5/7
4121103 การเขียนโปรแกรมและอัลกอริทึ่ม SLIDE 5/7
Know Mastikate
 
4121103 การเขียนโปรแกรมและอัลกอริทึ่ม SLIDE 7/7
4121103 การเขียนโปรแกรมและอัลกอริทึ่ม SLIDE 7/74121103 การเขียนโปรแกรมและอัลกอริทึ่ม SLIDE 7/7
4121103 การเขียนโปรแกรมและอัลกอริทึ่ม SLIDE 7/7
Know Mastikate
 
การใช้ Turbo C ชุดที่ 11 function
การใช้ Turbo C ชุดที่ 11 functionการใช้ Turbo C ชุดที่ 11 function
การใช้ Turbo C ชุดที่ 11 function
Know Mastikate
 
4121103 การเขียนโปรแกรมและอัลกอริทึ่ม SLIDE 3/7
4121103 การเขียนโปรแกรมและอัลกอริทึ่ม SLIDE 3/74121103 การเขียนโปรแกรมและอัลกอริทึ่ม SLIDE 3/7
4121103 การเขียนโปรแกรมและอัลกอริทึ่ม SLIDE 3/7
Know Mastikate
 
การใช้ Turbo C ชุดที่ 1 Turbo C
การใช้ Turbo C ชุดที่ 1 Turbo Cการใช้ Turbo C ชุดที่ 1 Turbo C
การใช้ Turbo C ชุดที่ 1 Turbo C
Know Mastikate
 
การใช้ Turbo C ชุดที่ 12 structure
การใช้ Turbo C ชุดที่ 12 structureการใช้ Turbo C ชุดที่ 12 structure
การใช้ Turbo C ชุดที่ 12 structure
Know Mastikate
 
การใช้ Turbo C ชุดที่ 6 condition
การใช้ Turbo C ชุดที่ 6 conditionการใช้ Turbo C ชุดที่ 6 condition
การใช้ Turbo C ชุดที่ 6 condition
Know Mastikate
 
การใช้ Turbo C ชุดที่ 5 IO
การใช้ Turbo C ชุดที่ 5 IOการใช้ Turbo C ชุดที่ 5 IO
การใช้ Turbo C ชุดที่ 5 IO
Know Mastikate
 
4121103 การเขียนโปรแกรมและอัลกอริทึ่ม SLIDE 4/7
4121103 การเขียนโปรแกรมและอัลกอริทึ่ม SLIDE 4/74121103 การเขียนโปรแกรมและอัลกอริทึ่ม SLIDE 4/7
4121103 การเขียนโปรแกรมและอัลกอริทึ่ม SLIDE 4/7
Know Mastikate
 
การใช้ Turbo C ชุดที่ 2 variable
การใช้ Turbo C ชุดที่ 2 variableการใช้ Turbo C ชุดที่ 2 variable
การใช้ Turbo C ชุดที่ 2 variable
Know Mastikate
 
4121103 การเขียนโปรแกรมและอัลกอริทึ่ม SLIDE 6/7
4121103 การเขียนโปรแกรมและอัลกอริทึ่ม SLIDE 6/74121103 การเขียนโปรแกรมและอัลกอริทึ่ม SLIDE 6/7
4121103 การเขียนโปรแกรมและอัลกอริทึ่ม SLIDE 6/7
Know Mastikate
 
C Programming
C ProgrammingC Programming
C Programming
Warawut
 
Structured Programming and Algorithm
Structured Programming and AlgorithmStructured Programming and Algorithm
Structured Programming and Algorithm
Satipattan Oband
 

Viewers also liked (20)

การใช้ Turbo C ชุดที่ 7 Loop
การใช้ Turbo C ชุดที่ 7 Loopการใช้ Turbo C ชุดที่ 7 Loop
การใช้ Turbo C ชุดที่ 7 Loop
 
4121103 การเขียนโปรแกรมและอัลกอริทึ่ม SLIDE 1/7
4121103 การเขียนโปรแกรมและอัลกอริทึ่ม SLIDE 1/74121103 การเขียนโปรแกรมและอัลกอริทึ่ม SLIDE 1/7
4121103 การเขียนโปรแกรมและอัลกอริทึ่ม SLIDE 1/7
 
4121103 การเขียนโปรแกรมและอัลกอริทึ่ม SLIDE 2/7
4121103 การเขียนโปรแกรมและอัลกอริทึ่ม SLIDE 2/74121103 การเขียนโปรแกรมและอัลกอริทึ่ม SLIDE 2/7
4121103 การเขียนโปรแกรมและอัลกอริทึ่ม SLIDE 2/7
 
Lesson1
Lesson1Lesson1
Lesson1
 
Introduction of C++
Introduction of C++Introduction of C++
Introduction of C++
 
การใช้ Turbo C ชุดที่ 8 Array
การใช้ Turbo C ชุดที่ 8 Arrayการใช้ Turbo C ชุดที่ 8 Array
การใช้ Turbo C ชุดที่ 8 Array
 
4121103 การเขียนโปรแกรมและอัลกอริทึ่ม SLIDE 5/7
4121103 การเขียนโปรแกรมและอัลกอริทึ่ม SLIDE 5/74121103 การเขียนโปรแกรมและอัลกอริทึ่ม SLIDE 5/7
4121103 การเขียนโปรแกรมและอัลกอริทึ่ม SLIDE 5/7
 
4121103 การเขียนโปรแกรมและอัลกอริทึ่ม SLIDE 7/7
4121103 การเขียนโปรแกรมและอัลกอริทึ่ม SLIDE 7/74121103 การเขียนโปรแกรมและอัลกอริทึ่ม SLIDE 7/7
4121103 การเขียนโปรแกรมและอัลกอริทึ่ม SLIDE 7/7
 
Plan3
Plan3Plan3
Plan3
 
การใช้ Turbo C ชุดที่ 11 function
การใช้ Turbo C ชุดที่ 11 functionการใช้ Turbo C ชุดที่ 11 function
การใช้ Turbo C ชุดที่ 11 function
 
4121103 การเขียนโปรแกรมและอัลกอริทึ่ม SLIDE 3/7
4121103 การเขียนโปรแกรมและอัลกอริทึ่ม SLIDE 3/74121103 การเขียนโปรแกรมและอัลกอริทึ่ม SLIDE 3/7
4121103 การเขียนโปรแกรมและอัลกอริทึ่ม SLIDE 3/7
 
การใช้ Turbo C ชุดที่ 1 Turbo C
การใช้ Turbo C ชุดที่ 1 Turbo Cการใช้ Turbo C ชุดที่ 1 Turbo C
การใช้ Turbo C ชุดที่ 1 Turbo C
 
การใช้ Turbo C ชุดที่ 12 structure
การใช้ Turbo C ชุดที่ 12 structureการใช้ Turbo C ชุดที่ 12 structure
การใช้ Turbo C ชุดที่ 12 structure
 
การใช้ Turbo C ชุดที่ 6 condition
การใช้ Turbo C ชุดที่ 6 conditionการใช้ Turbo C ชุดที่ 6 condition
การใช้ Turbo C ชุดที่ 6 condition
 
การใช้ Turbo C ชุดที่ 5 IO
การใช้ Turbo C ชุดที่ 5 IOการใช้ Turbo C ชุดที่ 5 IO
การใช้ Turbo C ชุดที่ 5 IO
 
4121103 การเขียนโปรแกรมและอัลกอริทึ่ม SLIDE 4/7
4121103 การเขียนโปรแกรมและอัลกอริทึ่ม SLIDE 4/74121103 การเขียนโปรแกรมและอัลกอริทึ่ม SLIDE 4/7
4121103 การเขียนโปรแกรมและอัลกอริทึ่ม SLIDE 4/7
 
การใช้ Turbo C ชุดที่ 2 variable
การใช้ Turbo C ชุดที่ 2 variableการใช้ Turbo C ชุดที่ 2 variable
การใช้ Turbo C ชุดที่ 2 variable
 
4121103 การเขียนโปรแกรมและอัลกอริทึ่ม SLIDE 6/7
4121103 การเขียนโปรแกรมและอัลกอริทึ่ม SLIDE 6/74121103 การเขียนโปรแกรมและอัลกอริทึ่ม SLIDE 6/7
4121103 การเขียนโปรแกรมและอัลกอริทึ่ม SLIDE 6/7
 
C Programming
C ProgrammingC Programming
C Programming
 
Structured Programming and Algorithm
Structured Programming and AlgorithmStructured Programming and Algorithm
Structured Programming and Algorithm
 

Similar to การใช้ Turbo C ชุดที่ 13 File IO

Oil film thickness calculation line contact method
Oil film thickness calculation line contact methodOil film thickness calculation line contact method
Oil film thickness calculation line contact method
Erika P
 
2 8-1-pb
2 8-1-pb2 8-1-pb
2 8-1-pb
Mas Nunu
 
Ação do MPSC e liminar da justiça sobre esgoto em condomínio de Chapecó
Ação do MPSC e liminar da justiça sobre esgoto em condomínio de ChapecóAção do MPSC e liminar da justiça sobre esgoto em condomínio de Chapecó
Ação do MPSC e liminar da justiça sobre esgoto em condomínio de Chapecó
Ministério Público de Santa Catarina
 
Phase behavior
Phase behaviorPhase behavior
Phase behavior
Holger Pinzon
 
1991 clasificatoria
1991 clasificatoria1991 clasificatoria
1991 clasificatoria
Gisselle Venturelli
 
Gi2c china internship scams get you deported
Gi2c china internship scams get you deportedGi2c china internship scams get you deported
Gi2c china internship scams get you deported
LaowaiCareerCenter
 
Gi2c china internship scams get you deported
Gi2c china internship scams get you deportedGi2c china internship scams get you deported
Gi2c china internship scams get you deported
LaowaiCareerCenter
 
Toan t1
Toan t1Toan t1
Al qaulul-mateen-fi-radd-ala-wahabeen-arabc
Al qaulul-mateen-fi-radd-ala-wahabeen-arabcAl qaulul-mateen-fi-radd-ala-wahabeen-arabc
Al qaulul-mateen-fi-radd-ala-wahabeen-arabc
Muhammad Tariq
 
雑談 アザミウマ
雑談 アザミウマ雑談 アザミウマ
雑談 アザミウマ
nozma
 
Anvis nt 23 2020_atualizacao mascaras
Anvis   nt 23 2020_atualizacao mascarasAnvis   nt 23 2020_atualizacao mascaras
Anvis nt 23 2020_atualizacao mascaras
José Soares Filho
 
Martialask Нидерландия Шахбокс исторически събития и дати
Martialask Нидерландия Шахбокс исторически събития и датиMartialask Нидерландия Шахбокс исторически събития и дати
Martialask Нидерландия Шахбокс исторически събития и дати
FIDE Master Tihomir Dovramadjiev PhD
 
NETHERLANDS Martialask HISTORY OF CHESS BOXING facts and dates
NETHERLANDS Martialask HISTORY OF CHESS BOXING facts and datesNETHERLANDS Martialask HISTORY OF CHESS BOXING facts and dates
NETHERLANDS Martialask HISTORY OF CHESS BOXING facts and dates
FIDE Master Tihomir Dovramadjiev PhD
 
Global Burden of Disease Study 2016 (GBD 2016), NEPAL
Global Burden of Disease Study 2016 (GBD 2016), NEPALGlobal Burden of Disease Study 2016 (GBD 2016), NEPAL
Global Burden of Disease Study 2016 (GBD 2016), NEPAL
Public Health Update
 
Matemática - Actividades Nivel Inicial - Juegos
Matemática - Actividades Nivel Inicial - JuegosMatemática - Actividades Nivel Inicial - Juegos
Matemática - Actividades Nivel Inicial - Juegos
Comisión Provincial de Actividades Científicas y Tecnológicas
 
Z
ZZ
Tesi Federico Della Ricca
Tesi Federico Della RiccaTesi Federico Della Ricca
Tesi Federico Della Ricca
thinfilmsworkshop
 
Japanese niv
Japanese nivJapanese niv
Japanese niv
griffey24
 
Проект "p-Captcha: криптостойкое шифрование слабым паролем"
Проект "p-Captcha: криптостойкое шифрование слабым паролем"Проект "p-Captcha: криптостойкое шифрование слабым паролем"
Проект "p-Captcha: криптостойкое шифрование слабым паролем"
kulibin
 
Ds150e software free download and activation vxdas official blog
Ds150e software free download and activation   vxdas official blogDs150e software free download and activation   vxdas official blog
Ds150e software free download and activation vxdas official blog
César Aldana
 

Similar to การใช้ Turbo C ชุดที่ 13 File IO (20)

Oil film thickness calculation line contact method
Oil film thickness calculation line contact methodOil film thickness calculation line contact method
Oil film thickness calculation line contact method
 
2 8-1-pb
2 8-1-pb2 8-1-pb
2 8-1-pb
 
Ação do MPSC e liminar da justiça sobre esgoto em condomínio de Chapecó
Ação do MPSC e liminar da justiça sobre esgoto em condomínio de ChapecóAção do MPSC e liminar da justiça sobre esgoto em condomínio de Chapecó
Ação do MPSC e liminar da justiça sobre esgoto em condomínio de Chapecó
 
Phase behavior
Phase behaviorPhase behavior
Phase behavior
 
1991 clasificatoria
1991 clasificatoria1991 clasificatoria
1991 clasificatoria
 
Gi2c china internship scams get you deported
Gi2c china internship scams get you deportedGi2c china internship scams get you deported
Gi2c china internship scams get you deported
 
Gi2c china internship scams get you deported
Gi2c china internship scams get you deportedGi2c china internship scams get you deported
Gi2c china internship scams get you deported
 
Toan t1
Toan t1Toan t1
Toan t1
 
Al qaulul-mateen-fi-radd-ala-wahabeen-arabc
Al qaulul-mateen-fi-radd-ala-wahabeen-arabcAl qaulul-mateen-fi-radd-ala-wahabeen-arabc
Al qaulul-mateen-fi-radd-ala-wahabeen-arabc
 
雑談 アザミウマ
雑談 アザミウマ雑談 アザミウマ
雑談 アザミウマ
 
Anvis nt 23 2020_atualizacao mascaras
Anvis   nt 23 2020_atualizacao mascarasAnvis   nt 23 2020_atualizacao mascaras
Anvis nt 23 2020_atualizacao mascaras
 
Martialask Нидерландия Шахбокс исторически събития и дати
Martialask Нидерландия Шахбокс исторически събития и датиMartialask Нидерландия Шахбокс исторически събития и дати
Martialask Нидерландия Шахбокс исторически събития и дати
 
NETHERLANDS Martialask HISTORY OF CHESS BOXING facts and dates
NETHERLANDS Martialask HISTORY OF CHESS BOXING facts and datesNETHERLANDS Martialask HISTORY OF CHESS BOXING facts and dates
NETHERLANDS Martialask HISTORY OF CHESS BOXING facts and dates
 
Global Burden of Disease Study 2016 (GBD 2016), NEPAL
Global Burden of Disease Study 2016 (GBD 2016), NEPALGlobal Burden of Disease Study 2016 (GBD 2016), NEPAL
Global Burden of Disease Study 2016 (GBD 2016), NEPAL
 
Matemática - Actividades Nivel Inicial - Juegos
Matemática - Actividades Nivel Inicial - JuegosMatemática - Actividades Nivel Inicial - Juegos
Matemática - Actividades Nivel Inicial - Juegos
 
Z
ZZ
Z
 
Tesi Federico Della Ricca
Tesi Federico Della RiccaTesi Federico Della Ricca
Tesi Federico Della Ricca
 
Japanese niv
Japanese nivJapanese niv
Japanese niv
 
Проект "p-Captcha: криптостойкое шифрование слабым паролем"
Проект "p-Captcha: криптостойкое шифрование слабым паролем"Проект "p-Captcha: криптостойкое шифрование слабым паролем"
Проект "p-Captcha: криптостойкое шифрование слабым паролем"
 
Ds150e software free download and activation vxdas official blog
Ds150e software free download and activation   vxdas official blogDs150e software free download and activation   vxdas official blog
Ds150e software free download and activation vxdas official blog
 

More from Know Mastikate

MK380-SQL ระบบสารสนเทศทางการตลาด - ภาษา SQL
MK380-SQL ระบบสารสนเทศทางการตลาด - ภาษา SQLMK380-SQL ระบบสารสนเทศทางการตลาด - ภาษา SQL
MK380-SQL ระบบสารสนเทศทางการตลาด - ภาษา SQL
Know Mastikate
 
การใช้ Turbo C ชุดที่ 3 arithematic
การใช้ Turbo C ชุดที่ 3 arithematicการใช้ Turbo C ชุดที่ 3 arithematic
การใช้ Turbo C ชุดที่ 3 arithematic
Know Mastikate
 
เอกสาร Program C for Pc-Digital
เอกสาร Program C for Pc-Digitalเอกสาร Program C for Pc-Digital
เอกสาร Program C for Pc-Digital
Know Mastikate
 
แบบฟอร์มใบสมัครงาน แบบที่ 1
แบบฟอร์มใบสมัครงาน แบบที่ 1แบบฟอร์มใบสมัครงาน แบบที่ 1
แบบฟอร์มใบสมัครงาน แบบที่ 1
Know Mastikate
 
แบบฟอร์มใบสมัครงาน แบบที่ 2
แบบฟอร์มใบสมัครงาน แบบที่ 2แบบฟอร์มใบสมัครงาน แบบที่ 2
แบบฟอร์มใบสมัครงาน แบบที่ 2
Know Mastikate
 
ไฟล์ Presentation ประกอบรายงาน PHP - Know2Pro.co.cc
ไฟล์ Presentation ประกอบรายงาน PHP - Know2Pro.co.ccไฟล์ Presentation ประกอบรายงาน PHP - Know2Pro.co.cc
ไฟล์ Presentation ประกอบรายงาน PHP - Know2Pro.co.cc
Know Mastikate
 
รายงาน Google Android - Know2pro.com
รายงาน Google Android - Know2pro.comรายงาน Google Android - Know2pro.com
รายงาน Google Android - Know2pro.com
Know Mastikate
 
รายงาน PHP - Know2pro.com
รายงาน PHP - Know2pro.comรายงาน PHP - Know2pro.com
รายงาน PHP - Know2pro.com
Know Mastikate
 

More from Know Mastikate (8)

MK380-SQL ระบบสารสนเทศทางการตลาด - ภาษา SQL
MK380-SQL ระบบสารสนเทศทางการตลาด - ภาษา SQLMK380-SQL ระบบสารสนเทศทางการตลาด - ภาษา SQL
MK380-SQL ระบบสารสนเทศทางการตลาด - ภาษา SQL
 
การใช้ Turbo C ชุดที่ 3 arithematic
การใช้ Turbo C ชุดที่ 3 arithematicการใช้ Turbo C ชุดที่ 3 arithematic
การใช้ Turbo C ชุดที่ 3 arithematic
 
เอกสาร Program C for Pc-Digital
เอกสาร Program C for Pc-Digitalเอกสาร Program C for Pc-Digital
เอกสาร Program C for Pc-Digital
 
แบบฟอร์มใบสมัครงาน แบบที่ 1
แบบฟอร์มใบสมัครงาน แบบที่ 1แบบฟอร์มใบสมัครงาน แบบที่ 1
แบบฟอร์มใบสมัครงาน แบบที่ 1
 
แบบฟอร์มใบสมัครงาน แบบที่ 2
แบบฟอร์มใบสมัครงาน แบบที่ 2แบบฟอร์มใบสมัครงาน แบบที่ 2
แบบฟอร์มใบสมัครงาน แบบที่ 2
 
ไฟล์ Presentation ประกอบรายงาน PHP - Know2Pro.co.cc
ไฟล์ Presentation ประกอบรายงาน PHP - Know2Pro.co.ccไฟล์ Presentation ประกอบรายงาน PHP - Know2Pro.co.cc
ไฟล์ Presentation ประกอบรายงาน PHP - Know2Pro.co.cc
 
รายงาน Google Android - Know2pro.com
รายงาน Google Android - Know2pro.comรายงาน Google Android - Know2pro.com
รายงาน Google Android - Know2pro.com
 
รายงาน PHP - Know2pro.com
รายงาน PHP - Know2pro.comรายงาน PHP - Know2pro.com
รายงาน PHP - Know2pro.com
 

Recently uploaded

South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)
Academy of Science of South Africa
 
Top five deadliest dog breeds in America
Top five deadliest dog breeds in AmericaTop five deadliest dog breeds in America
Top five deadliest dog breeds in America
Bisnar Chase Personal Injury Attorneys
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
tarandeep35
 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
Nicholas Montgomery
 
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptxC1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
mulvey2
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
Peter Windle
 
Digital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental DesignDigital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental Design
amberjdewit93
 
Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
Nicholas Montgomery
 
Smart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICTSmart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICT
simonomuemu
 
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
Priyankaranawat4
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
Israel Genealogy Research Association
 
A Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdfA Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdf
Jean Carlos Nunes Paixão
 
The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
heathfieldcps1
 
World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024
ak6969907
 
How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17
Celine George
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
Scholarhat
 
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat  Leveraging AI for Diversity, Equity, and InclusionExecutive Directors Chat  Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
TechSoup
 
Life upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for studentLife upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for student
NgcHiNguyn25
 
Types of Herbal Cosmetics its standardization.
Types of Herbal Cosmetics its standardization.Types of Herbal Cosmetics its standardization.
Types of Herbal Cosmetics its standardization.
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 

Recently uploaded (20)

South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)
 
Top five deadliest dog breeds in America
Top five deadliest dog breeds in AmericaTop five deadliest dog breeds in America
Top five deadliest dog breeds in America
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
 
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptxC1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
 
Digital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental DesignDigital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental Design
 
Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
 
Smart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICTSmart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICT
 
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
 
A Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdfA Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdf
 
The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
 
World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024
 
How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
 
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat  Leveraging AI for Diversity, Equity, and InclusionExecutive Directors Chat  Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
 
Life upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for studentLife upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for student
 
Types of Herbal Cosmetics its standardization.
Types of Herbal Cosmetics its standardization.Types of Herbal Cosmetics its standardization.
Types of Herbal Cosmetics its standardization.
 

การใช้ Turbo C ชุดที่ 13 File IO

  • 1. -1- V^d]Zg=e V^d]o`4]eV  ¢¡¤£¦¥¨§¨ ©§ ZgJUeo5HSe7QeUdQ ;dGJ|eqGU 4|eKVoVj`LPeU4e[ pOL4eV]`LMJoVhUL =jw`^L•ZUoVhUL VcMM7`TQgZoH`V™pXc5dxLH`L rL4eVQdELeqNVp4VT G–ZUSeeVcGdM]l: !# $% ('¢' )#0 12 34 5768 9@ A¤BDCE ^dZ5–`oVjw`:sRX” ;kGNVc]:7™JdwZsN o5–er;^Xd44eV;dG4eV4dMsRX” ;kGNVc]:7™oQec VeUXco`hUGHeTJhwVcMksZ–rLrM:eL `KgMeU4eVoNŒGsRX” pMMPŽ4^dG5–`Jhw `KgMeU4eVo5hUL5–`TlXo5–esNrLsRX” `KgMeU4eV`•eL5–`TlX;e4sRX” `KgMeU4eVNŒGsRX” ZgKh4eV]`LpXc4g;4VVT G|eoLgL]`LG–ZU4eVMVVUeUNVc4`MpO•Lr] G|eoLgL4eV]`LG–ZU4eVo5hULpXcp]G:HdZ`U•e:G–ZUqNVp4VToJ`V™qMh r=–`gLoH`V™oLJoQjw`pLcL|ep^X•:5–`TlXJhwo4hwUZ5–`: r^–HdZpJLLd4[i4e``4TeJ|eHdZ`U•e:JFF^L–e=dxLoVhUL r^–HdZpJLLd4[i4e``4TeJ|eMe:]•ZL5`:HdZ`U•e:JFF ^L–e=dxLoVhUL ]jw`4eV]`L o`4]eVNVc4`M4eVMVVUeU;|eLZL^L–e qNVp4VToJ`V™qMh :eLJhwT`M^TeU r^–Ld4[i4eJ|e:eLJhwT`M^TeU;|eLZL5–` [i4eoQgwToHgTL`4oZXe;e4o`4]eVHeTo`4]eV`–e:`g:^TeUoX5 pXc^TeUoX5MJJhw 4eVZdGOX ZdGOX;e44eV;GMdLJi4rL]TkG5`:Ld4[i4e ZdGOX;e44eVJ|epMMPŽ4^dG ZdGOX;e44eV]`M o`4]eV`–e:`g: @`ZgJZd]ZgJU=|eLe@4kXKWWSKWWSZZZNPLWODFWKaNZZLWKDZ @TLHVhQ;LeVIIXeZdXU™4eVo5hULqNVp4VT7`TQgZoH`V™G–ZUoJ`V™qMh Mho`vGUlo7=dwL;|e4dG,6%1
  • 2. -2- RPSXWHU3URJUDPPLQJ :NsRX” EJXPWRUQ5XDQIDLJDG =LgG5`:sRX” 7H[W)LOHoNLsRX”Jhwo4vM5–`TlX`d45Vc ]eTeVIoNŒGp4–s5sG–G–ZU WH[WHGLWRUHdZ`U•e:5`:sRX”=LgGLhx 7j`sRX”JhwThLeT]4kX W[W EDW FoNLH–L %LQDUILOHoNLsRX”Jhwo4vM5–`TlXsZ– oNLL7•eHdZoX5 HdZ`U•e:5`: sRX”6LgGLhx7j`sRX”JhwThLeT]4kX FRP H[H REMoNLH–L R›:4™=dLJhwo4hwUZ5–`:4dMsRX” R›:4™=dL4eVoNŒGNŒG4eV`•eLo5hULsRX” 4eVoNŒGsRX”IRSHQ 4eV`•eLsRX”IUHDG 4eVo5hULsRX”IZULWH 4eVNŒGsRX”IFORVH sRX”Q`UL™oH`V™ ),/( q^TGrL4eVoNŒGsRX” PRGH 4eVJ|e:eL U Z D U Z D W E oNŒGsRX”oQjw`4eV`•eL5–`TlX ]V–e:sRX”r^T•oQjw`o5hUL5–`TlX oNŒGsRX”oQjw`oQgwT5–`TlXJ–eUsRX” oNŒGsRX”o4•eoQjw``•eLpXco5hUL5–`TlX ]V–e:sRX”r^T•oQjw`4eVp4–s55–`TlX oNŒGsRX”oQjw`p4–s55–`TlXJhw]•ZLJ–eU5`:sRX” oNŒGsRX”rLq^TG WH[W oNŒGsRX”rLq^TG ELQDU
  • 4. #include stdio.h #include conio.h int main(void) { FILE *fp; char FileName[64]; char a; clrscr(); printf(filename = ); scanf( %s , FileName); fp = fopen(FileName, r); if(fp == NULL) exit(-1); do{ a = getc(fp); printf(%c, a); }while(a != EOF); fclose(fp); getch(); } filename = gcc1201.c #include stdio.h #include conio.h int main(void) { FILE *fp; char FileName[64]; char a; clrscr(); printf(filename = ); scanf(%s,FileName); fp = fopen(FileName,r); if(fp == NULL) exit(-1); do{ a = getc(fp); printf(%c, a) }while( a != EOF ); fclose(fp); getch(); }
  • 6. #include stdio.h #include conio.h int main(void) { FILE *fp; char FileName[64]; char a; clrscr(); printf(new file name = ); scanf(%s,FileName); fp = fopen(FileName,w+); if(fp == NULL) exit(-1); do { scanf(%c, a ); if( a == '~') break; if( putc( a, fp) == NULL) exit(-1); }while(1); fclose(fp); } new file name = test.tx hello world 1234567890~
  • 8. #include stdio.h #include conio.h int main(void) { FILE *fp; char FileName[64]; float a = 123.4567890; char b[16] = HelloWorld; int c = 123; clrscr(); printf(new file name = ); scanf(%s,FileName); fp = fopen(FileName,w); if(fp == NULL) exit(-1); fprintf( fp, %f %s %d, a, b, c); fclose(fp); a = 0; strcpy( b, ); c = 0; printf(open file name = ); scanf(%s,FileName); fp = fopen(FileName,r); if(fp == NULL) exit(-1); fscanf( fp, %f %s %d, a, b, c); printf(%f %s %d, a, b, c); fclose(fp); getch(); } new file name = test.dat open file name = test.dat 123.456787 Hello 0
  • 9. -6- #include stdio.h #include conio.h int main(void) { FILE *fp; char FileName[64]; float a = 'z'; char b[16] = HelloWorld; int c = 123; clrscr(); printf(new file name = ); scanf(%s,FileName); fp = fopen(FileName,w); if(fp == NULL) exit(-1); putw( c, fp); fclose(fp); c = 0; printf(open file name = ); scanf(%s,FileName); fp = fopen(FileName,r); if(fp == NULL) exit(-1); c = getw(fp); printf(%d, c); fclose(fp); getch(); } new file name = test2.dat open file name = test2.dat 12345