[prev in list] [next in list] [prev in thread] [next in thread]
List: kdevelop
Subject: Re: STL
From: Eva Brucherseifer <eva () kde ! org>
Date: 2001-05-05 7:03:34
[Download RAW message or body]
Hi Tamas,
STL is part of g++ since they are in the ANSI C++ standard since 1998. If you
use g++-2.95.2 you don't have to set the include path, but you still have to
include the headers:
#include <vector>
#include <iostream>
using namespace std;
int main()
{
vector<int> testvector;
testvector.push_back(4);
cout << testvector[0];
return 0;
}
This is standard C++, so it works kdevelop, too.
Greetings,
eva
On Saturday 05 May 2001 07:34, you wrote:
> Hello,
>
> I'm just wondering, whether STL is supported under KDevelop, or not. I'd
> like to use some sample vector and map templates... Are the STL headers
> included default, or what shall I do to use them? If yes, which version is
> supported?
>
> Thanks,
> Tamas
>
>
> -
> to unsubscribe from this list send an email to
> kdevelop-request@kdevelop.org with the following body: unsubscribe
> »your-email-address«
-
to unsubscribe from this list send an email to kdevelop-request@kdevelop.org with the following body:
unsubscribe »your-email-address«
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic