Search results: running program c
the function int getchar (void) in library c takes a character (an unsigned char) from stdin. this function is equivalent to the getc function with the parameter stdin.
the function int putchar (int char) in standard c library writes a character (an unsigned char) defined by the char parameter to stdout.
the function int ungetc (int char, file * stream) in the c library standard pushes the char character (an unsigned char) onto the stream given to the next character to be read.
function file * tmpfile (void) in standard c library create temporary files in wb + mode. the temporary file created will be automatically deleted when the stream is closed
the char * gets (char * str) function in standard c library reads a line from stdin and stores it inside the string pointed by str. it stops when the end-of-file or newline
the int fscanf function (file * stream, const char * format, ...) in library c reads the input formatted from a stream.
the function int scanf (const char * format, ...) in library c standard reads input that has been formatted from stdin.
the function int sscanf (const char * str, const char * format, ...) in library c standard reads the input formatted from a string.
the function int fputs (const char * str, file * stream) in the standard c library writes a string to the specified stream (not writing null characters).
the int feof function (file * stream) in the standard library c checks the end-of-file indicator for the given stream.
function file * freopen (const char * filename, const char * mode, file * stream) in library c attaches a new filename with the given stream and at the same time closes the old