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 use FileStream?
Re: How to use FileStream? [message #8282 is a reply to message #8277] Wed, 28 February 2007 09:29 Go to previous message
mirek is currently offline  mirek
Messages: 14267
Registered: November 2005
Ultimate Member
Ulti wrote on Tue, 27 February 2007 19:39

luzr wrote on Tue, 20 February 2007 16:29

Sound quite good, the only complaint I can make is that you probably should use "Stream" instead of "MemStream" to make your method more generic (usable with any Stream derived class you will need in future).

MemStream is very specific Stream kind, with rather limited use.

Mirek

Steam has the only pure virtual member,is this desired?


Yes. Stream itself does not specificy the "media".

You define your function to work with "Stream", then use specific Stream derived class to store/load from file, memory of whatever.

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Problem with Serialization after recompiling with U++ 2007.1beta3
Next Topic: something abaut brc file
Goto Forum:
  


Current Time: Mon Aug 25 12:34:47 CEST 2025

Total time taken to generate the page: 0.05796 seconds