I
Immortal Nephi
C Run-Time Library has most functions available to all platforms such
as Windows, Mac OSX, and Linux. Some functions start one underscore
before function name ( _funcname() ) are Microsoft Specification.
Some functions are not the same as Mac OSX and Linux have.
C++ iostream library uses some C Run-Time library functions such as
file management. It only has open() and close(), but it does not have
additional file functions such as rename, delete, display directory,
change file size, etc.
The file management in C++ iostream library has limited error
reporting message. The error message tells that file can’t be opened,
but it does not specify more details such as disk is full or file is
corrupted or file does not exist.
Do you suggest to use both C Run-Time library and C++ iostream
library when you want to write your code to work all platforms? C Run-
Time library should have full error reporting management from all
operating systems.
as Windows, Mac OSX, and Linux. Some functions start one underscore
before function name ( _funcname() ) are Microsoft Specification.
Some functions are not the same as Mac OSX and Linux have.
C++ iostream library uses some C Run-Time library functions such as
file management. It only has open() and close(), but it does not have
additional file functions such as rename, delete, display directory,
change file size, etc.
The file management in C++ iostream library has limited error
reporting message. The error message tells that file can’t be opened,
but it does not specify more details such as disk is full or file is
corrupted or file does not exist.
Do you suggest to use both C Run-Time library and C++ iostream
library when you want to write your code to work all platforms? C Run-
Time library should have full error reporting management from all
operating systems.