|
From: Ferdinando F. <s2...@st...> - 2003-12-11 09:55:36
|
On Wed, 10 Dec 2003, Pascal wrote:
> What is the properly making of include the STL librairie:
> stdlib?
#include <cstdlib>
> stdio?
#include <cstdio>
> iostream?
#include <iostream>
> math?
#include <cmath> // I suppose, never tried it
>
> for making a console DOS in C/C++ if i want use sprintf() etc...
>
Then if you're using C++:
#include <cstdio>
int main () {
std::sprintf(...);
}
else, in C:
#include <stdio.h>
int main () {
sprintf(...);
}
> what is the different of <cstdio> and <stdio.h> in DEV C++ environnement?
> I use actualy Mingw32-c++.exe to compile and not gcc?
First is C++ standard specific, and includes all declarations of the
second (C standard specific) into namespace std.
> what is the file in devcpp\bin?:
> ar.exe?
creates libraries (the *.a files)
> as.exe?
the GNU assembler
> cpp.exe?
the C preprocessor
> g++.exe?
The C++ compiler and linker
> gcc.exe?
The C compiler, but is really a wrapper for all compilers, supports even
pascal if you install gpc
> gdb.exe?(is that the debugger?)
Yes, the command line one
> ld.exe?
The linker
> make.exe?(is that the making soft and what is the utilities?)
Handles makefiles, project descriptions
> ranlib.exe?
Put symbols information into libraries
> readelf.exe?
read an ELF executable format
> rm.exe?
The same of 'del' under DOS
> Tar.exe?
Creates archives (*.tar)
> windres.exe?
Compiles the Windows resource files (*.rc)
Argh! What a long message!
Bye, Ferdinando
|