Boost logo

Boost Users :

From: Fox Fossati (stonfofish_at_[hidden])
Date: 2008-05-27 11:19:26


Excuse me, I' m reading a DataGridView with VisualC++2008 with nested loops.... ..... Object^ val=dataGridView1[x,y]->Value; //Object is a Visual class ..... I convert every value in a System::String variable: String^ str=val->ToString(); Then I'have to insert this data in a container (for example) this: vector<boost::any>* vec=new vector<boost::any>(n) ; //0<=x<n (*vec)[x]=str; //ERROR! (*vec)[x]=*str; //ERROR! Is there another method to transfer a value from a dataGridView to an STL container? Now i wrote only a vector to explain simply but in fact i will use a table of this type vector<vector<boost:.any>*>. Excuse me for my bad english. Thanks! ___________________________________ Scopri il Blog di Yahoo! Mail: trucchi, novità, consigli... e la tua opinione! http://www.ymailblogit.com/blog/



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net