Click to See Complete Forum and Search --> : apstring to CString


N-Compas
September 8th, 2001, 06:05 PM
how can i convert a varriable type apstring to type CString?

Igor Soukhov
September 9th, 2001, 02:41 AM
What the apstring is ?

Please - rate answer if it helped you
It gives me inspiration when I see myself in the top list =)

Best regards,

-----------
Igor Soukhov (Brainbench/Tekmetrics ID:50759)
igor@soukhov.com | ICQ:57404554 | http://soukhov.com

Member of Russian Software Developer Network http://rsdn.ru

N-Compas
September 9th, 2001, 07:43 AM
here is where you can find apstring
http://www.collegeboard.org/ap/computer-science/html/classes.html

Igor Soukhov
September 9th, 2001, 08:27 AM
Thank you. The link you provided was very usefull as led to this code:



apstring astr("APSTRING");
CString str("CString");
str += astr.c_str();




Please - rate answer if it helped you
It gives me inspiration when I see myself in the top list =)

Best regards,

-----------
Igor Soukhov (Brainbench/Tekmetrics ID:50759)
igor@soukhov.com | ICQ:57404554 | http://soukhov.com

Member of Russian Software Developer Network http://rsdn.ru