[eaf] Re: char*

  • From: Tetra <tetra666@xxxxxxxxx>
  • To: eaf@xxxxxxxxxxxxx
  • Date: Wed, 22 Mar 2006 21:07:23 +0100

2006/3/22, Vidman Viktor <vvidman@xxxxxxxxx>:
> Üdv!
>
> Valaki nem tudj véletlenül, hogy hogyan lehet std::string változóból
> char* típusú változót "csinálni"?
>
> Torh

Típustranszformáció jeahh :)

#include <string>
const char* c_str();

Szóval beírod string után, h .c_str()

Other related posts: