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 | | | | re: help dev c++ suchodj@wanadoo.fr wrote:[color=blue]
> i run dev c++ 4.9.9.2 gcc 3.4.2 windows xp family
> is it possible to add to gcc the STL ?[/color]
Isn't Dev-C++ an open source project? As such, doesn't it have
its own forum? | | | | re: help dev c++ suchodj@wanadoo.fr wrote:[color=blue]
> 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 ?[/color]
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. | | | | re: help dev c++
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.Abazarov@comAcast.net> wrote:
[color=blue]
>suchodj@wanadoo.fr wrote:[color=green]
>> i run dev c++ 4.9.9.2 gcc 3.4.2 windows xp family
>> is it possible to add to gcc the STL ?[/color]
>
>Isn't Dev-C++ an open source project? As such, doesn't it have
>its own forum?
>[/color] | | | | re: help dev c++
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" <roberts.noah@gmail.com>
wrote:
[color=blue]
>
>suchodj@wanadoo.fr wrote:[color=green]
>> 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 ?[/color]
>
>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.[/color] | | | | re: help dev c++
such...@wanadoo.fr wrote:[color=blue]
>Victor Bazarov wrote:[color=green]
>>such...@wanadoo.fr wrote:[color=darkred]
>>> i run dev c++ 4.9.9.2 gcc 3.4.2 windows xp family
>>> is it possible to add to gcc the STL ?[/color][/color][/color]
[color=blue][color=green]
>>Isn't Dev-C++ an open source project? As such, doesn't it have
>>its own forum?[/color][/color]
[color=blue]
> i have first checked with google/groups and did not
> find any specific other than "comp.lang.c++"[/color]
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 | | | | re: help dev c++
such...@wanadoo.fr wrote:
[color=blue]
> 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[/color]
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 | | | | re: help dev c++
Thomas Tutone <Thomas8675309@yahoo.com> wrote:
[color=blue]
> #include <vector>
> int main()
> {
> std::vector<int> v;
> v.push_back(0);[/color]
return 0;[color=blue]
> }[/color]
[color=blue]
> 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.[/color]
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. | | | | re: help dev c++
Christopher Benson-Manica wrote:
[color=blue]
> Thomas Tutone <Thomas8675309@yahoo.com> wrote:
>[color=green]
>> #include <vector>
>> int main()
>> {
>> std::vector<int> v;
>> v.push_back(0);[/color]
> return 0;[color=green]
>> }[/color]
>[color=green]
>> 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.[/color]
>
> Besides the warning for omitting the return value :-)[/color]
main() is magic. No return is the equivalent of return 0;.
--
Phlip | | | | re: help dev c++
On 24 May 2006 14:33:22 -0700, "Jonathan Mcdougall"
<jonathanmcdougall@gmail.com> wrote:
[color=blue]
>such...@wanadoo.fr wrote:[color=green]
>>Victor Bazarov wrote:[color=darkred]
>>>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 ?[/color][/color]
>[color=green][color=darkred]
>>>Isn't Dev-C++ an open source project? As such, doesn't it have
>>>its own forum?[/color][/color]
>[color=green]
>> i have first checked with google/groups and did not
>> find any specific other than "comp.lang.c++"[/color]
>
>1) don't top-post ( http://en.wikipedia.org/wiki/Top-post)[/color]
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 ?[color=blue]
>2) learn to use google
>( http://sourceforge.net/forum/forum.php?forum_id=48211)[/color]
thank you for the above forum
jerome[color=blue]
>
>
>Jonathan[/color] | | | | re: help dev c++
On 24 May 2006 14:38:56 -0700, "Thomas Tutone"
<Thomas8675309@yahoo.com> wrote:
[color=blue]
>such...@wanadoo.fr wrote:
>[color=green]
>> 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[/color]
>
>I think you are wrong. Try the following program:
>
>#include <vector>
>int main()
>{
> std::vector<int> v;
> v.push_back(0);[/color]
it works perfectly. thank you very much for helping
friendly
jerome
[color=blue]
>}
>
>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[/color] | | | | re: help dev c++ suchodj@wanadoo.fr wrote:
[color=blue]
> On 24 May 2006 14:33:22 -0700, "Jonathan Mcdougall"
> <jonathanmcdougall@gmail.com> wrote:[/color]
[snip][color=blue][color=green]
>>1) don't top-post ( http://en.wikipedia.org/wiki/Top-post)[/color]
> 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 ?[/color]
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 | | | | re: help dev c++
* Kai-Uwe Bux:[color=blue]
> suchodj@wanadoo.fr wrote:
>[color=green]
>> On 24 May 2006 14:33:22 -0700, "Jonathan Mcdougall"
>> <jonathanmcdougall@gmail.com> wrote:[/color]
> [snip][color=green][color=darkred]
>>> 1) don't top-post ( http://en.wikipedia.org/wiki/Top-post)[/color]
>> 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 ?[/color]
>
> 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.[/color]
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? | | | | re: help dev c++ suchodj@wanadoo.fr wrote:[color=blue]
> Hello
> i run dev c++ 4.9.9.2 gcc 3.4.2 windows xp family[/color]
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. | | | | re: help dev c++
Christopher Benson-Manica wrote:[color=blue]
> Thomas Tutone <Thomas8675309@yahoo.com> wrote:
>[color=green]
>> #include <vector>
>> int main()
>> {
>> std::vector<int> v;
>> v.push_back(0);[/color]
> return 0;[color=green]
>> }[/color]
>[color=green]
>> 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.[/color]
>
> Besides the warning for omitting the return value :-)
>[/color]
return is not required | | | | re: help dev c++
suchodj wrote:
[color=blue][color=green]
>>1) don't top-post ( http://en.wikipedia.org/wiki/Top-post)[/color][/color]
[color=blue]
> 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 ?[/color]
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!!! | | | | re: help dev c++
On Thu, 25 May 2006 12:16:27 +0200, Einar Forselv <enexSP@Mcontraz.no>
wrote:
[color=blue]
>suchodj@wanadoo.fr wrote:[color=green]
>> Hello
>> i run dev c++ 4.9.9.2 gcc 3.4.2 windows xp family[/color]
>
>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.[/color]
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 | | | | re: help dev c++ suchodj@wanadoo.fr wrote:[color=blue]
> 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 ?[/color]
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. | | | | re: help dev c++
On 2006-05-25 16:08, suchodj@wanadoo.fr wrote:[color=blue]
> On Thu, 25 May 2006 12:16:27 +0200, Einar Forselv <enexSP@Mcontraz.no>
> wrote:
>[color=green]
>>suchodj@wanadoo.fr wrote:[color=darkred]
>>> Hello
>>> i run dev c++ 4.9.9.2 gcc 3.4.2 windows xp family[/color]
>>
>>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.[/color]
> 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[/color]
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 | | | | re: help dev c++ suchodj@wanadoo.fr wrote:
[color=blue]
> On 24 May 2006 14:33:22 -0700, "Jonathan Mcdougall"
> <jonathanmcdougall@gmail.com> wrote:[/color]
[color=blue][color=green]
> > 1) don't top-post ( http://en.wikipedia.org/wiki/Top-post)[/color]
> 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 ?[/color]
Forget wikipedia, refer to the newsgroup FAQ: http://www.parashift.com/c++-faq-lit...t.html#faq-5.4
Brian | | | | re: help dev c++
phlip <phlip2005@geeemail.com> wrote:
[color=blue]
> main() is magic. No return is the equivalent of return 0;.[/color]
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. |  | | | | /bytes/about
We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights.
Get the best answers to your questions from over 226,510 network members.
|