# include int numbers [10];
numeri1 int [10];
int i = 0;
char name [30];
char name [10] [30];
nomi1 char [10] [30];
FILE * f1;
void load () {
printf ("ten names type \\ n");
for (i = 0; the <10; i++){
scanf ("% s", names [i]);
}}
void write () {
f1 = fopen ("filenumeri.txt", "w");
for (i = 0; the <10; i++){
fprintf (f1, "% s \\ n", names [i] );}
fclose (f1);}
void read () {
f1 = fopen ("filenumeri.txt", "r");
for (i = 0; the <10; i++){
fscanf (f1, "% s "nomi1 [i]);}
fclose (f1);}
void print () {
for (i = 0; the <10; i++){
printf ("% s \\ n ", nomi1 [i]);}
} main () {
charge ();
write ();
read ();
print ();}
______________________________________________________________________________
QuickPost this image to Myspace, Digg, Facebook, and others!
0 comments:
Post a Comment