How would I convert this code to C++?
string[] strarr = {\"ram\",\"mohan\",\"sita\"}; foreach(string str in strarr) { listbox.items.add(str); }
If you have an array you can simply use a for loop. (I'm sorry, but I'm not going to type out the code for a for loop for you.)
for