Files - reading & writing
fp = fopen(“somefile”,”r”);
char c; char *p; /* storage */
char *s; int n; /* n char */
fscanf(fp,”%f”,&fidentifier);
fprintf(fp,”%f”,fidentifier);
c = getc(fp); /* ? getchar() for terminal I/O */
fgets(s,n,fp); /* read n characters i.e. string */
fread(p,s,n,fp) & f write(p,s,n,p) are used to read & write chunks of binary data (p 480 of text)