Good morning to everyone.... I use LINUX-FEDORA
In Qt CREATOR.....
I want to compile a console application in C++.
I need to use STL library ....
I write:
#include <vector>
/*
I even used and this
#include <QVector>
*/
........
int main()
{
vector<int> v;
/*
I even used and this
std::vector<int> v;
*/
........
vector<int>::iterator it = v.begin();
........
}
The compiler sais:
'iteraror' is not a member of 'std::vector<int>'
expected ';' before 'it'
'it' was not declared in this scope
The same things, with g++ (in LINUX), devcpp (in WINDOWS)
Where is the STL library in Qt CREATOR ??
Maybe I must install in LINUX, the STL from somewhere ??
Thanks in advance ...!!!!