Hello
i run dev c++ 4.9.9.2 gcc 3.4.2 windows xp family
is it possible to add to gcc the STL ?
thank you in advance
friendly
jerome 21 2146 su*****@wanadoo.fr wrote: i run dev c++ 4.9.9.2 gcc 3.4.2 windows xp family is it possible to add to gcc the STL ?
Isn't Dev-C++ an open source project? As such, doesn't it have
its own forum? su*****@wanadoo.fr wrote: Hello i run dev c++ 4.9.9.2 gcc 3.4.2 windows xp family is it possible to add to gcc the STL ?
I don't know if you are meaning gcc as in the whole "gnu compiler
collection" or the "gnu c compiler". If the later then you also need
g++ and it should come with the std lib.
Any of the compilers usually have both. Use g++ as the command line
tool for compiling cpp files or it won't link in the right std lib.
Hello Victor
i have first checked with google/groups and did not
find any specific other than "comp.lang.c++"
friendly
jerome
On Wed, 24 May 2006 17:14:31 -0400, "Victor Bazarov"
<v.********@comAcast.net> wrote: su*****@wanadoo.fr wrote: i run dev c++ 4.9.9.2 gcc 3.4.2 windows xp family is it possible to add to gcc the STL ?
Isn't Dev-C++ an open source project? As such, doesn't it have its own forum?
Hello Noah
i have g++. I looked for vector and map and did not
find them in the help from dev c++. Then i concluded
it did not have the STL. maybe i am all wrong. If i add
that i am newcomer it will explain my fuzziness.
thank you
friendly
jerome
On 24 May 2006 14:18:25 -0700, "Noah Roberts" <ro**********@gmail.com>
wrote: su*****@wanadoo.fr wrote: Hello i run dev c++ 4.9.9.2 gcc 3.4.2 windows xp family is it possible to add to gcc the STL ?
I don't know if you are meaning gcc as in the whole "gnu compiler collection" or the "gnu c compiler". If the later then you also need g++ and it should come with the std lib.
Any of the compilers usually have both. Use g++ as the command line tool for compiling cpp files or it won't link in the right std lib.
such...@wanadoo.fr wrote: Victor Bazarov wrote:such...@wanadoo.fr wrote: i run dev c++ 4.9.9.2 gcc 3.4.2 windows xp family is it possible to add to gcc the STL ?
Isn't Dev-C++ an open source project? As such, doesn't it have its own forum?
i have first checked with google/groups and did not find any specific other than "comp.lang.c++"
1) don't top-post ( http://en.wikipedia.org/wiki/Top-post)
2) learn to use google
( http://sourceforge.net/forum/forum.php?forum_id=48211)
Jonathan
such...@wanadoo.fr wrote: Hello Noah i have g++. I looked for vector and map and did not find them in the help from dev c++. Then i concluded it did not have the STL. maybe i am all wrong. If i add that i am newcomer it will explain my fuzziness. thank you friendly jerome
I think you are wrong. Try the following program:
#include <vector>
int main()
{
std::vector<int> v;
v.push_back(0);
}
Compile it. If it compiles, then clearly you have the standard library
(including vector, map, and everything else you're calling the "STL").
If it doesn't compile, post the error message.
Best regards,
Tom
Thomas Tutone <Th***********@yahoo.com> wrote: #include <vector> int main() { std::vector<int> v; v.push_back(0);
return 0; }
Compile it. If it compiles, then clearly you have the standard library (including vector, map, and everything else you're calling the "STL"). If it doesn't compile, post the error message.
Besides the warning for omitting the return value :-)
--
Christopher Benson-Manica | I *should* know what I'm talking about - if I
ataru(at)cyberspace.org | don't, I need to know. Flames welcome.
Christopher Benson-Manica wrote: Thomas Tutone <Th***********@yahoo.com> wrote:
#include <vector> int main() { std::vector<int> v; v.push_back(0); return 0; }
Compile it. If it compiles, then clearly you have the standard library (including vector, map, and everything else you're calling the "STL"). If it doesn't compile, post the error message.
Besides the warning for omitting the return value :-)
main() is magic. No return is the equivalent of return 0;.
--
Phlip
On 24 May 2006 14:33:22 -0700, "Jonathan Mcdougall"
<jo***************@gmail.com> wrote: such...@wanadoo.fr wrote:Victor Bazarov wrote:such...@wanadoo.fr wrote: i run dev c++ 4.9.9.2 gcc 3.4.2 windows xp family is it possible to add to gcc the STL ?Isn't Dev-C++ an open source project? As such, doesn't it have its own forum? i have first checked with google/groups and did not find any specific other than "comp.lang.c++"
1) don't top-post (http://en.wikipedia.org/wiki/Top-post)
according to the above wiki "Top-posting is criticized by some
definitions of Internet etiquette.", it is only "some definitions"
could that mean there are other possibilities ?2) learn to use google (http://sourceforge.net/forum/forum.php?forum_id=48211)
thank you for the above forum
jerome
Jonathan
On 24 May 2006 14:38:56 -0700, "Thomas Tutone"
<Th***********@yahoo.com> wrote: such...@wanadoo.fr wrote:
Hello Noah i have g++. I looked for vector and map and did not find them in the help from dev c++. Then i concluded it did not have the STL. maybe i am all wrong. If i add that i am newcomer it will explain my fuzziness. thank you friendly jerome I think you are wrong. Try the following program:
#include <vector> int main() { std::vector<int> v; v.push_back(0);
it works perfectly. thank you very much for helping
friendly
jerome
}
Compile it. If it compiles, then clearly you have the standard library (including vector, map, and everything else you're calling the "STL"). If it doesn't compile, post the error message.
Best regards,
Tom su*****@wanadoo.fr wrote: On 24 May 2006 14:33:22 -0700, "Jonathan Mcdougall" <jo***************@gmail.com> wrote:
[snip] 1) don't top-post (http://en.wikipedia.org/wiki/Top-post) according to the above wiki "Top-posting is criticized by some definitions of Internet etiquette.", it is only "some definitions" could that mean there are other possibilities ?
Yes, it appears to be a cultural thing. However, from my experience in this
newsgroup, top-posting is somewhat frowned upon *here*: all regulars in
this group do not top-post, and top-posters regularly are told not to do
that.
Best
Kai-Uwe Bux
* Kai-Uwe Bux: su*****@wanadoo.fr wrote:
On 24 May 2006 14:33:22 -0700, "Jonathan Mcdougall" <jo***************@gmail.com> wrote: [snip] 1) don't top-post (http://en.wikipedia.org/wiki/Top-post) according to the above wiki "Top-posting is criticized by some definitions of Internet etiquette.", it is only "some definitions" could that mean there are other possibilities ?
Yes, it appears to be a cultural thing. However, from my experience in this newsgroup, top-posting is somewhat frowned upon *here*: all regulars in this group do not top-post, and top-posters regularly are told not to do that.
The Wikipedia article on top-posting mentions this group especially... ;-)
And links to a defense of top-posting that quotes a version of my sig.
--
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail? su*****@wanadoo.fr wrote: Hello i run dev c++ 4.9.9.2 gcc 3.4.2 windows xp family
A bit OT, but you should rather move to Code::Blocks (Also called
"Dev-C++ 2" by some). Dev-C++ have been a dead project for 2(?) years now. www.codeblocks.org - They have an active forum and a wiki.
Christopher Benson-Manica wrote: Thomas Tutone <Th***********@yahoo.com> wrote:
#include <vector> int main() { std::vector<int> v; v.push_back(0); return 0; }
Compile it. If it compiles, then clearly you have the standard library (including vector, map, and everything else you're calling the "STL"). If it doesn't compile, post the error message.
Besides the warning for omitting the return value :-)
return is not required
suchodj wrote: 1) don't top-post (http://en.wikipedia.org/wiki/Top-post)
according to the above wiki "Top-posting is criticized by some definitions of Internet etiquette.", it is only "some definitions" could that mean there are other possibilities ?
Wikipedia has a team of morons who tirelessly patrol its pages and viciously
remove any perceived "point of view", even if it's obviously correct, and
even if it's not a point of view. So someone had to insert "some
definitions" to prevent the entire paragraph from getting whacked. It's
meaningless - there are no other known definitions of USENET netiquette.
Everyone who writes a post should take a little time to trim quotes and put
things in the right order, with space and punctuation. Each post should be
complete, self-contained, and high quality.
--
Phlip http://c2.com/cgi/wiki?ZeekLand <-- NOT a blog!!!
On Thu, 25 May 2006 12:16:27 +0200, Einar Forselv <en****@Mcontraz.no>
wrote: su*****@wanadoo.fr wrote: Hello i run dev c++ 4.9.9.2 gcc 3.4.2 windows xp family
A bit OT, but you should rather move to Code::Blocks (Also called "Dev-C++ 2" by some). Dev-C++ have been a dead project for 2(?) years now.
www.codeblocks.org - They have an active forum and a wiki.
thank you for this information. More generally, i need an c/c++ free
ide/compiler, a friend told me dev c++, it seems outdated. Which
advice could you give me apart of Code::Blocks ?
thank you in advance
jerome su*****@wanadoo.fr wrote: thank you for this information. More generally, i need an c/c++ free ide/compiler, a friend told me dev c++, it seems outdated. Which advice could you give me apart of Code::Blocks ?
Code::Blocks *is* a free IDE that supports several compilers. The
default intsallation use g++/mingw, so you get everything you need out
of the box. You can even import devcpp and VC++ project files. Download
RC2 and update the exe file + dlls from the most recent nightly build
and you are up and running with a fresh version.
And yes.. Dev-C++ is *old*. For more help and info, use the forums at www.codeblocks.org.
On 2006-05-25 16:08, su*****@wanadoo.fr wrote: On Thu, 25 May 2006 12:16:27 +0200, Einar Forselv <en****@Mcontraz.no> wrote:
su*****@wanadoo.fr wrote: Hello i run dev c++ 4.9.9.2 gcc 3.4.2 windows xp family
A bit OT, but you should rather move to Code::Blocks (Also called "Dev-C++ 2" by some). Dev-C++ have been a dead project for 2(?) years now.
www.codeblocks.org - They have an active forum and a wiki. thank you for this information. More generally, i need an c/c++ free ide/compiler, a friend told me dev c++, it seems outdated. Which advice could you give me apart of Code::Blocks ? thank you in advance jerome
There is always the Visual Studio C++ 2005 Express if you don't mind it
being Microsoft and don't want a light-weight development environment.
More info: http://msdn.microsoft.com/vstudio/express/visualc/
Erik Wikström
--
"I have always wished for my computer to be as easy to use as my
telephone; my wish has come true because I can no longer figure
out how to use my telephone" -- Bjarne Stroustrup
phlip <ph*******@geeemail.com> wrote: main() is magic. No return is the equivalent of return 0;.
I would have bet that g++ would warn if it were omitted, but the
joke's on me. D'oh!
--
Christopher Benson-Manica | I *should* know what I'm talking about - if I
ataru(at)cyberspace.org | don't, I need to know. Flames welcome. This discussion thread is closed Replies have been disabled for this discussion. Similar topics
21 posts
views
Thread by Dave |
last post: by
|
9 posts
views
Thread by Tom |
last post: by
|
6 posts
views
Thread by wukexin |
last post: by
|
3 posts
views
Thread by Colin J. Williams |
last post: by
|
7 posts
views
Thread by Corepaul |
last post: by
|
5 posts
views
Thread by Steve |
last post: by
|
8 posts
views
Thread by Mark |
last post: by
|
10 posts
views
Thread by JonathanOrlev |
last post: by
| | | | | | | | | | | | |