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 

Re: Ca ne marche pas.

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





PostPosted: Tue Aug 26, 2003 10:07 am    Post subject: Re: Ca ne marche pas. Reply with quote



Frédéri MIAILLE wrote:
Quote:
Ceci ne marche pas : string est inconnu.
Pourquoi ?

#include
int main()
{
string Abc;
return 1;
}

Que se passe t'il si tu rajoute "std::" devant "string Abc;" ?




Back to top
Luc Hermitte
Guest





PostPosted: Tue Aug 26, 2003 10:08 am    Post subject: Re: Ca ne marche pas. Reply with quote



"Frédéri MIAILLE" <bobranger_no_spam (AT) wanadoo (DOT) fr> wrote in news:bif749
$1u6j$1 (AT) biggoron (DOT) nerim.net:

Quote:
Ceci ne marche pas : string est inconnu.
Pourquoi ?

#include <string

int main()
{
string Abc;
return 1;
}


A cause de l'espace de nom std:: dans lequel se trouve std::string.
cf les diverses faqs et questions récurrentes sur using qu'il a pu se
tenir ici ou là.

--
Luc Hermitte FAQ de <news:fr.comp.lang.c++> :
<http://www.cmla.ens-cachan.fr/Utilisateurs/dosreis/C++/FAQ/>
Dejanews : <http://groups.google.com/advanced_group_search>

Back to top
Frédéri MIAILLE
Guest





PostPosted: Tue Aug 26, 2003 12:40 pm    Post subject: Re: Ca ne marche pas. Reply with quote



Ok merci.

--
Frédéri MIAILLE
fr.comp.lang.c
fr.comp.lang.c++
fr.comp.os.ms-windows.programmation
fr.comp.graphisme.programmation


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.