Using Read Function In C Code Example


Example: read files in c

#include<stdio.h> int main(){ 	FILE *in=fopen("name_of_file.txt","r"); 	char c; 	while((c=fgetc(in))!=EOF) 		putchar(c); 	fclose(in); 	return 0; }

Comments

Popular posts from this blog

Chemistry - Bond Angles In NH3 And NCl3

Are Regular VACUUM ANALYZE Still Recommended Under 9.1?

Change The Font Size Of Visual Studio Solution Explorer