User Tools

Site Tools


Sidebar

Programming Reference/Librarys

Question & Answer

Q&A is closed







c:stdio.h:file

FILE

 FILE Pointer (stream)
 shows on a given file
 // here is a better explanation necessary

C Sourcecode Example

#include <stdio.h> /* including standard library */
//#include <windows.h> /* uncomment this for Windows */
 
 
int main ( void )
{
FILE *filestream;
 
filestream=fopen("test.txt","r");
 
if (filestream == 0) {
perror("cannot open file");
}
 
fclose(filestream);
return 0;
 
}

on the occasion of the current invasion of Russia in Ukraine

Russian Stop this War
c/stdio.h/file.txt · Last modified: 2024/02/16 01:05 (external edit)

Impressum Datenschutz