Linux -Blue forest free software | Return to home page | Site Map | Search WWW | Contact Us |
Your current position : Homepage > Free Software > Technological exchanges >Application Programming


    

Blue Forest http://www.lslnet.com at 10:18 on June 6, 2006


C + + how to put into string! char ! ! ME ! ! ! ! !

Heroes gentlemen, I would like to ask how char string conversion.


Such as :
*ptr Char = "abacdefsgalkuieajkh";
String str;
      
How could convert into string-ptr? ?

#include "Iostream>
#include "String>
Using namespace std;

Int main ()
{
*ptr Char = "abacdefsgalkuieajkh";
String str = ptr;
Cout<<str<<endl;
Return 0
}



 Privacy Policy  Copyright © 1999-2000 LSLNET.COM. All rights reserved. Blue Forest website owners. E-mail : Webmaster@lslnet.com