Quantcast
Channel: Visual C forum
Viewing all articles
Browse latest Browse all 15302

simple string vector init question

$
0
0

I'd like to create an array of strings that I can use in a loop to fill a combo box and wondered what the best way is and to initialise?

this won't complie

std::vector<std::string> myStrings(_T(

"s1"), _T("s2"), _T("s3"

));


Viewing all articles
Browse latest Browse all 15302

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>