C/C++ Programmer's ReferenceEssential programming tips at your fingertips! This handy programmer's reference provides quick access to syntax, functions, classes, methods, as well as the Standard Template Library (STL). The book covers ANSI/ISO Standard C and C++, including the new C99 standard. |
From inside the book
Results 1-3 of 11
Page 108
... ferror ( ) , and perror ( ) . fclose #include < stdio.h > int fclose ( FILE * stream ) ; The fclose ( ) function closes the file associated with stream and flushes its buffer . After a call to fclose ( ) , stream is no longer connected ...
... ferror ( ) , and perror ( ) . fclose #include < stdio.h > int fclose ( FILE * stream ) ; The fclose ( ) function closes the file associated with stream and flushes its buffer . After a call to fclose ( ) , stream is no longer connected ...
Page 109
... ferror #include < stdio.h > int ferror ( FILE * stream ) ; The ferror ( ) function checks for a file error on the given stream . A return value of zero indicates that no error has occurred , while a nonzero value means an error . 6 To ...
... ferror #include < stdio.h > int ferror ( FILE * stream ) ; The ferror ( ) function checks for a file error on the given stream . A return value of zero indicates that no error has occurred , while a nonzero value means an error . 6 To ...
Page 110
... . If working with binary files , you must use ferror ( ) to check for file errors . Related functions are fputc ( ) , getc ( ) , putc ( ) , and fopen ( ) . fgetpos fgets 111 #include < stdio.h > int fgetpos ( 110 fflush.
... . If working with binary files , you must use ferror ( ) to check for file errors . Related functions are fputc ( ) , getc ( ) , putc ( ) , and fopen ( ) . fgetpos fgets 111 #include < stdio.h > int fgetpos ( 110 fflush.
Common terms and phrases
added by C99 algorithm array pointed atan2 bitset bool CharType str class Comp class InIter2 Comp cmpfn comparison function complex<T const char const wchar_t const_iterator constructor contains cout ctype.h default defined deque double complex end1 end2 errno family of functions floating-point ForIter2 form constructs format flags fsetpos function returns header I/O system include iostream include math.h include stdlib.h InIter end integer invoking string iostream iostream library iostream.h key_type &k long double long long int longjmp macros malloc math.h member of ios multiset namespace null operator output parameter printf qualified by restrict queue Related functions returns a reference Returns an iterator Returns the number Returns true reverse iterator scanf second form allows sequence size_t size_type indx specify a comparison stdio.h stdlib.h str1 str2 strcmp strcpy string pointed strl strtol template class template class ForIter time_t unsigned variable vector void wchar.h wide-character