C++Talk.NET Forum Index C++Talk.NET
C++ language newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

ifstream

 
Post new topic   Reply to topic    C++Talk.NET Forum Index -> C++ (French)
View previous topic :: View next topic  
Author Message
Guillaume Gourdin
Guest





PostPosted: Thu Feb 05, 2004 1:22 pm    Post subject: ifstream Reply with quote



Bonjour à tous.

Petite question, peut récupérer le nom du fichier associé à un ifstream,
quelque chose du genre :
const string & ifstream::getfilename() const;
ou faut-il que je sauvegarde moi même le nom du fichier ouvert ?

Merci.


Back to top
Gourgouilloult
Guest





PostPosted: Fri Feb 06, 2004 2:48 am    Post subject: Re: ifstream Reply with quote



Guillaume Gourdin a écrit :
Quote:

Petite question, peut récupérer le nom du fichier associé à un ifstream,
quelque chose du genre :
const string & ifstream::getfilename() const;
ou faut-il que je sauvegarde moi même le nom du fichier ouvert ?

Je suis pas grand spécialiste des streams, mais apparemment c'est pas prévu.

Quote:
Merci.

Gourgou
Oh ben...


Back to top
kanze@gabi-soft.fr
Guest





PostPosted: Fri Feb 06, 2004 8:20 am    Post subject: Re: ifstream Reply with quote



"Guillaume Gourdin" <toto (AT) toto (DOT) com> wrote


Quote:
Petite question, peut récupérer le nom du fichier associé à un
ifstream, quelque chose du genre :
const string & ifstream::getfilename() const;
ou faut-il que je sauvegarde moi même le nom du fichier ouvert ?

Il faut que tu le sauve toi-même.

--
James Kanze GABI Software mailto:kanze (AT) gabi-soft (DOT) fr
Conseils en informatique orientée objet/ http://www.gabi-soft.fr
Beratung in objektorientierter Datenverarbeitung
11 rue de Rambouillet, 78460 Chevreuse, France, +33 (0)1 30 23 45 16

Back to top
Display posts from previous:   
Post new topic   Reply to topic    C++Talk.NET Forum Index -> C++ (French) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.