U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » U++ Core » How to do interation on Vector<String>
Re: How to do interation on Vector<String> [message #10652 is a reply to message #10649] Fri, 20 July 2007 15:20 Go to previous messageGo to previous message
fudadmin is currently offline  fudadmin
Messages: 1324
Registered: November 2005
Location: Kaunas, Lithuania
Ultimate Contributor
Administrator
johnevans77, my general advice for you would be:
1. move your way of thinking from abstract to concrete;
2. start coding your real project;
3. throw away all C++ books related to std:: ;
4. try to use simple things first, if that doesn't work - ask questions here...
e.g.
String out;
Vector<String> vs;

vs.Add("Str1");
vs.Add("Str2");
vs.Add("Str3");

for (int i=0; i<vs.GetCount(); i++) {
  out<<vs[i]<<"\n";  //or similar
}
// output out somewhere...
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Problem using Split on carriage return
Next Topic: Can I extend the Serialization to other types?
Goto Forum:
  


Current Time: Fri Oct 02 23:25:34 GMT+2 2026

Total time taken to generate the page: 1.40180 seconds