473,326 Members | 2,168 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

help dev c++

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
May 24 '06 #1
21 2346
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?
May 24 '06 #2

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.

May 24 '06 #3
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?


May 24 '06 #4
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.


May 24 '06 #5
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

May 24 '06 #6
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

May 24 '06 #7
suchodj wrote:
i have first checked with google/groups and did not
find any specific other than "comp.lang.c++"


There are more forums than newsgroups. Here:

http://www.google.com/search?q=dev+c%2B%2B+mailing+list

--
Phlip
May 24 '06 #8
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.
May 25 '06 #9
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

May 25 '06 #10
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


May 25 '06 #11
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


May 25 '06 #12
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
May 25 '06 #13
* 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?
May 25 '06 #14
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.
May 25 '06 #15
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
May 25 '06 #16
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!!!
May 25 '06 #17
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

May 25 '06 #18
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.
May 25 '06 #19
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
May 25 '06 #20
su*****@wanadoo.fr wrote:
On 24 May 2006 14:33:22 -0700, "Jonathan Mcdougall"
<jo***************@gmail.com> 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 ?


Forget wikipedia, refer to the newsgroup FAQ:

http://www.parashift.com/c++-faq-lit...t.html#faq-5.4

Brian
May 25 '06 #21
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.
May 26 '06 #22

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

21
by: Dave | last post by:
After following Microsofts admonition to reformat my system before doing a final compilation of my app I got many warnings/errors upon compiling an rtf file created in word. I used the Help...
9
by: Tom | last post by:
A question for gui application programmers. . . I 've got some GUI programs, written in Python/wxPython, and I've got a help button and a help menu item. Also, I've got a compiled file made with...
6
by: wukexin | last post by:
Help me, good men. I find mang books that introduce bit "mang header files",they talk too bit,in fact it is my too fool, I don't learn it, I have do a test program, but I have no correct doing...
3
by: Colin J. Williams | last post by:
Python advertises some basic service: C:\Python24>python Python 2.4.1 (#65, Mar 30 2005, 09:13:57) on win32 Type "help", "copyright", "credits" or "license" for more information. >>> With...
7
by: Corepaul | last post by:
Missing Help Files When I enter "recordset" as the keyword and search the Visual Basic Help index, I get many topics of interest in the resulting list. But there isn't any information available...
5
by: Steve | last post by:
I have written a help file (chm) for a DLL and referenced it using Help.ShowHelp My expectation is that a developer using my DLL would be able to access this help file during his development time...
8
by: Mark | last post by:
I have loaded Visual Studio .net on my home computer and my laptop, but my home computer has an abbreviated help screen not 2% of the help on my laptop. All the settings look the same on both...
10
by: JonathanOrlev | last post by:
Hello everybody, I wrote this comment in another message of mine, but decided to post it again as a standalone message. I think that Microsoft's Office 2003 help system is horrible, probably...
1
by: trunxnirvana007 | last post by:
'UPGRADE_WARNING: Array has a new behavior. Click for more: 'ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?keyword="9B7D5ADD-D8FE-4819-A36C-6DEDAF088CC7"' 'UPGRADE_WARNING: Couldn't resolve...
0
by: hitencontractor | last post by:
I am working on .NET Version 2003 making an SDI application that calls MS Excel 2003. I added a menu item called "MyApp Help" in the end of the menu bar to show Help-> About. The application...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.