and the following gives an error
BOOST_FOREACH(double x, myVec) x = 10.0;
so that I need to use
BOOST_FOREACH(pair<int,double> y, myMap) cout << y.first << "\t" << y.second << endl;
pair<int,double> y; BOOST_FOREACH(y, myMap) cout << y.first << "\t" << y.second << endl;
|C++ - Convert a wString to char *||9||513|
|How to change the Output Directory in a LINUX makefile so that a shared object can be relatively specified in C# DLLImport?||8||85|
|trigs fail! I thought I knew how to do trignometry||3||56|
|What is sub-make ?||2||39|
Join the community of 500,000 technology professionals and ask your questions.
Connect with top rated Experts
21 Experts available now in Live!