C++ In Plain EnglishC++ In Plain English Second Edition Add the object-oriented power of C++ to your programming portfolio — and watch your career take off! Fully revised to cover the new ANSI C++ spec, Overland's classic book helps you crack the C++ language barrier with expert tips, sample code, and straight-forward explanations of each function, class, and keyword.
|
From inside the book
Results 1-3 of 28
Page 359
... < stdlib.h > #include < stdio.h > // ... char input_str [ 81 ] ; double x = atof ( gets ( input_str ) ) ; Related functions are atoi and atol , which return integers . atoi Convert string to int The atoi function converts a digit string ...
... < stdlib.h > #include < stdio.h > // ... char input_str [ 81 ] ; double x = atof ( gets ( input_str ) ) ; Related functions are atoi and atol , which return integers . atoi Convert string to int The atoi function converts a digit string ...
Page 360
... < stdlib.h > #include < stdio.h > // ... char input_str [ 81 ] ; long n = atol ( gets ( input_str ) ) ; Related functions are atoi , which returns an int , and atof , which returns a floating - point value . Also , strol and stroul read ...
... < stdlib.h > #include < stdio.h > // ... char input_str [ 81 ] ; long n = atol ( gets ( input_str ) ) ; Related functions are atoi , which returns an int , and atof , which returns a floating - point value . Also , strol and stroul read ...
Page 420
... < stdlib.h > #include < stdio.h > // ... char * p ; long n = strtol ( " FF " , & p , 16 ) ; Related functions are atoi , atol , and atof . The strtoul func- tion performs the same action as strtol , but returns an unsigned long . strtoul ...
... < stdlib.h > #include < stdio.h > // ... char * p ; long n = strtol ( " FF " , & p , 16 ) ; Related functions are atoi , atol , and atof . The strtoul func- tion performs the same action as strtol , but returns an unsigned long . strtoul ...
Contents
Getting to Know C++ | 6 |
in english in plain english in | 16 |
What C++ Will Do for You | 17 |
Copyright | |
35 other sections not shown
Common terms and phrases
allocate ANSI apply argument array assignment base block bytes cast Chapter 15 char character command compiler condition const constants constructor contains convert copy cout create CStr default define delete derived directive double element englis english i glish error example exception executed expression Figure float following code following declaration format glish in plain implementation include stdio.h inheritance initialize input integer keyword language length means member functions memory Note object operand operator output pass pData perform plain english pointer provides range reference result sh in plain short simple specified standard statement stream string structure symbol syntax Table takes template tion true unsigned variable virtual functions void write