Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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: 1321
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: Thu May 09 19:32:17 CEST 2024

Total time taken to generate the page: 0.02734 seconds