[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [linux-team] prob. avec les string de C++
En C++ Builder tu disposes de la methode c_str() qui te renvoie un const
char *
> -----Message d'origine-----
> De: Philippe Legrain [mailto:calculon@netcourrier.com]
> Date: mercredi 23 février 2000 09:55
> À: linux-team@rtfm.be
> Objet: [linux-team] prob. avec les string de C++
>
>
> Hello,
>
> J'ai un (nouveau) probleme avec C++.
> J'utilise la classe string (standart library) pour
> stocker mes chaines de caractères. Le prob. c'est que
> certains appels systeme que j'utilise on besoin de (char *).
> Y a t'il quelque chose de défini pour faire la convertion?
> J'ai fait une classe dérivée de string avec une nouvelle
> méthode pour le faire, mais s'il y en a une dans la classe
> originale, autant utiliser celle-là.
> Y a t'il une bonne référence des librairies standart du C++
> sur le net comme ca je vous embête plus avec ca ;).
>
>
> Merci!
>
> Phil
>
>
> ---------
> Visit the Linux Supertore Online: http://www.redcorp.com !
> If you want to be deleted from the list, send a mail to
> majordomo@rtfm.be with "unsubscribe linux-team" in the body.
> Archive of the list: http://tania.be.linux.org/
>
---------
Visit the Linux Supertore Online: http://www.redcorp.com !
If you want to be deleted from the list, send a mail to
majordomo@rtfm.be with "unsubscribe linux-team" in the body.
Archive of the list: http://tania.be.linux.org/