Hi. What have you tried? http://whathaveyoutried.com I'll give you a hint: what does it mean to create a copy of a file stream? On 17 February 2010 09:02, Roger Durañona Vargas <luo_hei@xxxxxxxx> wrote: > Can somebody explain me if there is some special requirement to pass a > file as parameter? > I have this: > class EntityManager { > public: > saveEntities(ofstream savefile); > } > > > But this produces a lot of errors with gcc, saying that something is > private. any idea? > --------------------- To unsubscribe go to http://gameprogrammer.com/mailinglist.html