Trad
New Member
Posts: 1,122
|
Post by Trad on May 16, 2003 17:16:03 GMT -5
Ok, WHOEVER reeds this and is looking to learn c++, i will give out the following header file names, and i want you to look on the net, for all the member functions it has, and explain them in a few short lines ie.
<iostream.h>
cout - outputs text, used in a DOS program cin - inputs users text cerr - a function to display an error
etc etc.
here are some files. (i hope to keep going back to this and build up a library here, please dont post chit chat here, it will ruin the point of this thread, thanks)
string.h stdio.h stdlib.h iomanip.h
|
|
Fisher
xTeam
If a Stamped Ever Happens to Run at You, Never Stop and Shout Jumangi, it Doesn't Work!!!!
Posts: 3,187
|
Post by Fisher on Jun 1, 2003 15:37:55 GMT -5
string.h The <string.h> header defines the following: NULL Null pointer constant. size_t As described in <stddef.h>.
stdio.h The <stdio.h> header defines the following macro names as positive integral constant expressions: BUFSIZ Size of <stdio.h> buffers. FILENAME_MAX Maximum size in bytes of the longest filename string that the implementation guarantees can be opened. FOPEN_MAX Number of streams which the implementation guarantees can be open simultaneously. The value will be at least eight. _IOFBF Input/output fully buffered. _IOLBF Input/output line buffered. _IONBF Input/output unbuffered. L_ctermid Maximum size of character array to hold ctermid() output. L_cuserid Maximum size of character array to hold cuserid() output. (LEGACY) L_tmpnam Maximum size of character array to hold tmpnam() output. SEEK_CUR Seek relative to current position. SEEK_END Seek relative to end-of-file. SEEK_SET Seek relative to start-of-file. TMP_MAX Minimum number of unique filenames generated by tmpnam(). Maximum number of times an application can call tmpnam() reliably. The value of TMP_MAX will be at least 10,000. The following macro name is defined as a negative integral constant expression:
EOF End-of-file return value. The following macro name is defined as a null pointer constant:
NULL Null pointer. The following macro name is defined as a string constant:
P_tmpdir default directory prefix for tempnam(). The following macro names are defined as expressions of type pointer to FILE:
stderr Standard error output stream. stdin Standard input stream. stdout Standard output stream. The following data types are defined through typedef:
FILE A structure containing information about a file. fpos_t Type containing all information needed to specify uniquely every position within a file. va_list As described in <stdarg.h>. size_t As described in <stddef.h>.
stdlib.h The <stdlib.h> header defines the following macro names: EXIT_FAILURE Unsuccessful termination for exit(), evaluates to a non-zero value. EXIT_SUCCESS Successful termination for exit(), evaluates to 0. NULL Null pointer. RAND_MAX Maximum value returned by rand(), at least 32,767. MB_CUR_MAX Integer expression whose value is the maximum number of bytes in a character specified by the current locale. The following data types are defined through typedef:
div_t Structure type returned by div() function. ldiv_t Structure type returned by ldiv() function. size_t As described in <stddef.h>. wchar_t As described in <stddef.h>. In addition, the following symbolic names and macros are defined as in <sys/wait.h>, for use in decoding the return value from system():
WNOHANG WUNTRACED WEXITSTATUS() WIFEXITED() WIFSIGNALED() WIFSTOPPED() WSTOPSIG() WTERMSIG()
iomanip/h This include file defines a set of manipulators that can affect to both input and output streams of the iostream hierarchy hierarchy of classes. All these manipulators accept at least one parameter and mostly modify formatting information. In order to be able to use these manipulators you have to explicitly include this file in your code.
|
|