|
From: Pascal <p.t...@ti...> - 2003-12-10 15:18:30
|
Hello, What is the properly making of include the STL librairie: stdlib? stdio? iostream? math? for making a console DOS in C/C++ if i want use sprintf() etc... what is the different of <cstdio> and <stdio.h> in DEV C++ environnement? I use actualy Mingw32-c++.exe to compile and not gcc? I would many help if possible and to learning the difference of gcc mingw32-c++ and g++ what is the file in devcpp\bin?: addr2line.exe? ar.exe? as.exe? c++.exe? c++filt.exe? cpp.exe? dlltool.exe? dllwrap.exe? Dumpbin.exe? g77.exe? g++.exe? gcc.exe? gcov.exe? gdb.exe?(is that the debugger?) gprof.exe? lmp.exe? ld.exe? make.exe?(is that the making soft and what is the utilities?) mingw32-c++.exe?(what the difference with gcc.exe?) mingw32-g++.exe?(-----------------------------------------------) mingw32-gcc.exe?(------------------------------------------------) mingw32-make.exe(-----------------------------------------------) NAam.exe? NDAsm.exe? nm.exe? objcopy.exe? objdump.exe? protoize.exe? ranlib.exe? readelf.exe? rm.exe? size.exe? strings.exe? strip.exe? Tar.exe? unprotoize.exe? windres.exe? Many thanks if you can help me. And thanks for the DEV C++ GNU project. ++ |
|
From: Maya <Esc...@ne...> - 2003-12-10 15:34:24
|
Aah! I see that you are not doing your homework :} C++ has had an overhaul and the "final" release has deprecated the .h in all its headers files. So, #include <iostrea.h> has now become #include <iostream>, you can still include the .h file, but in the future this feature will not be supported, so I am told. Have a good one! p.t...@ti... wrote: > Hello, > > What is the properly making of include the STL librairie: > stdlib? > stdio? > iostream? > math? > > for making a console DOS in C/C++ if i want use sprintf() etc... > > what is the different of <cstdio> and <stdio.h> in DEV C++ environnement? > I use actualy Mingw32-c++.exe to compile and not gcc? > > I would many help if possible and to learning the difference of gcc > mingw32-c++ and g++ > > what is the file in devcpp\bin?: > addr2line.exe? > ar.exe? > as.exe? > c++.exe? > c++filt.exe? > cpp.exe? > dlltool.exe? > dllwrap.exe? > Dumpbin.exe? > g77.exe? > g++.exe? > gcc.exe? > gcov.exe? > gdb.exe?(is that the debugger?) > gprof.exe? > lmp.exe? > ld.exe? > make.exe?(is that the making soft and what is the utilities?) > mingw32-c++.exe?(what the difference with gcc.exe?) > mingw32-g++.exe?(-----------------------------------------------) > mingw32-gcc.exe?(------------------------------------------------) > mingw32-make.exe(-----------------------------------------------) > NAam.exe? > NDAsm.exe? > nm.exe? > objcopy.exe? > objdump.exe? > protoize.exe? > ranlib.exe? > readelf.exe? > rm.exe? > size.exe? > strings.exe? > strip.exe? > Tar.exe? > unprotoize.exe? > windres.exe? > > Many thanks if you can help me. > And thanks for the DEV C++ GNU project. > ++ > > > -- Jorge Escalante FYI http://www.astro.umd.edu/~marshall/abbrev.html E-Mail Policy http://www.vif.com/users/escalante/Email_Policy.html * You cannot exercise your power to a point of humiliation. - Jean Chretien * The media's the most powerful entity on earth. They have the power to make the innocent guilty and to make the guilty innocent, and that's power. - Malcom X * "Innocent until proven guilty", no... not in Canada!! |
|
From: Maya <Esc...@ne...> - 2003-12-10 17:41:09
|
If you are learning C, just use the examples you find in the book
C example:
#include <stdio.h> /*C header file for I/O*/
int main(void) /*Always return a value in main, it's a good programming
technique*/
{
printf("Hey what's up world");
return 0;
}
C++ example:
#include <iostream> //C++ header file for I/O
int main(){
std::cout << "Hey what's up world" << std::endl;
return 0;
}
Again!! if you are using C and not C++ just use the examples in the
book. If for some reason the examples in the book don't work post it at
alt.comp.lang.learn.c-c++, they are in a better position to answer
questions about C/C++ programming.
Don't mean to be rude, but this mailing list is mostly for Dev-Cpp problems.
Have good one, and if you are having more than one... give a call :-)
p.t...@ti... wrote:
> the file i have in my systeme is just the file going with devpack.
> i have not another file,just the dev c++ file package.
> I'm beginning,i learning actualy the "C ANSI language" and i say not
> what is the good compiler for.
> gcc.exe or mingw32.exe?
--
Jorge Escalante
FYI
http://www.astro.umd.edu/~marshall/abbrev.html
E-Mail Policy
http://www.vif.com/users/escalante/Email_Policy.html
* You cannot exercise your power to a point of humiliation.
- Jean Chretien
* The media's the most powerful entity on earth. They have the
power to make the innocent guilty and to make the guilty
innocent, and that's power.
- Malcom X
* "Innocent until proven guilty", no... not in Canada!!
|
|
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
|