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 #10658 is a reply to message #10653] Sat, 21 July 2007 15:11 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13976
Registered: November 2005
Ultimate Member
johnevans77 wrote on Sat, 21 July 2007 01:48

Thank you Smile

I will follow you advise.

Regarding to your code above.

It works. But i usually using cout to output something to console. When i try to use std::cout, the compilation produced many errors.

I can forget std namespace if there is alternative. In this case, how to output the 'out' variable to console?

Thank you,
JE


Well, I think the reason is that there is no

operator<<(ostream&, String)

Before going into the details, you can easily fix that by using Cout() (U++ thing) instead of std::cout.

Cout() << " member is " << *b;

Mirek
 
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 11:37:39 CEST 2024

Total time taken to generate the page: 0.01535 seconds