C/C++ Programmer's ReferenceWritten by Herb Schildt, C/C++ expert, this vital memory jogger holds a complete listing of essential C/C++ programming information in an easy-to-use, well organized format. At a glance, you'll find critical C/C++ definitions illuminated in the clear and readable prose that has made Schildt famous. Whether you're a beginner or an experienced programmer, the C/C++ Programmer's Reference is one programming aid you won't want to be without! |
From inside the book
Results 1-3 of 16
Page 119
Herbert Schildt. fopen #include < stdio.h > FILE * fopen ( const char * fname , const char * mode ) ; The fopen ( ) function opens a file whose name is pointed to by fname and returns the stream that is associated with it . The types of ...
Herbert Schildt. fopen #include < stdio.h > FILE * fopen ( const char * fname , const char * mode ) ; The fopen ( ) function opens a file whose name is pointed to by fname and returns the stream that is associated with it . The types of ...
Page 120
... fopen ( " test " , " w " ) ) == NULL ) { } printf ( " Cannot open file . \ n " ) ; exit ( 1 ) ; This method detects any error in opening a file , such as a write- protected or full disk , before attempting to write to it . NULL is used ...
... fopen ( " test " , " w " ) ) == NULL ) { } printf ( " Cannot open file . \ n " ) ; exit ( 1 ) ; This method detects any error in opening a file , such as a write- protected or full disk , before attempting to write to it . NULL is used ...
Page 124
... fopen ( ) ; a complete discussion is found in the " fopen ( ) " section . When called , freopen ( ) first tries to close a file that may currently be associated with stream . However , if the attempt to close the file fails , the ...
... fopen ( ) ; a complete discussion is found in the " fopen ( ) " section . When called , freopen ( ) first tries to close a file that may currently be associated with stream . However , if the attempt to close the file fails , the ...
Contents
Enumerations | 11 |
Defining New Type Names Using typedef | 17 |
Operators | 41 |
Copyright | |
24 other sections not shown
Other editions - View all
Common terms and phrases
algorithm array pointed atan2 begins at index bitset bool called char str2 charT str Comp cmpfn comparison function const char const T &val const_iterator constructor contains cout ctype.h data type default defined deque end-of-file end1 end2 endl example ferror fgetc fgets fopen ForIter end form constructs format flags fseek fsetpos function returns header include iostream include stdio.h index indx InIter end input stream integer invoking bitset invoking string iostream library iostream.h key_type &k longjmp malloc member of ios multimap multiset namespace npos is returned null pointer number of elements operator output parameter printf putc queue Related functions returns a pointer returns a reference returns an iterator Returns the index Returns the number Returns true reverse iterator scanf second form allows sequence setvbuf size_t size_type indx specify a comparison stdio.h stdlib.h str1 str2 strcmp strcpy string pointed strl template typeid ungetc variable vector void