I am using Rad Studio 2009 on a windows 7 OS.
My code is simple
//------------------
#include <vcl.h>
#pragma hdrstop
#include <vector>
#include "Main.h"
using namespace std;
vector <int> myvector; <==== line that throw error
#pragma package(smart_init)
#pragma resource "*.dfm"
the error is :
[BCC32 Error] Main.cpp(23): E2141 Declaration syntax error
Can somebody tell me what is the syntax error?
Is this a issue with Rad 2009 and windows 7 issue because I remember using STL container with RAD 2009 and Vista and compiled with no problem....?
Thanks in advance.
My code is simple
//------------------
#include <vcl.h>
#pragma hdrstop
#include <vector>
#include "Main.h"
using namespace std;
vector <int> myvector; <==== line that throw error
#pragma package(smart_init)
#pragma resource "*.dfm"
the error is :
[BCC32 Error] Main.cpp(23): E2141 Declaration syntax error
Can somebody tell me what is the syntax error?
Is this a issue with Rad 2009 and windows 7 issue because I remember using STL container with RAD 2009 and Vista and compiled with no problem....?
Thanks in advance.