일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 |
Tags
- 선택적조인
- jsr 296
- Struts
- tomcat
- Ajax
- node.js
- iBATIS
- MFC
- JDOM
- Eclipse
- 전자정부프레임워크
- oracle
- jQuery
- Spring
- dock
- PHP
- sencha touch
- appspresso
- rowspan
- GPS
- swingx
- phonegap
- MySQL
- WebLogic
- PLSQL
- Android
- Google Map
- ibsheet
- 가우스
- JSON
Archives
- Today
- Total
Where The Streets Have No Name
CString ⇔ char* 본문
출처 : http://blog.naver.com/mind2on/80009619180
CString ⇒ char*
CString str;
str = "Hello";
char* ss = LPSTR(LPCTSTR(str));
char* ⇒ CString
char ss[] = "Hello";
CString str;
str.Format("%s", ss);
(Format대신에 GetBuffer()를 써도 됩니다.)
CString str;
str = "Hello";
char* ss = LPSTR(LPCTSTR(str));
char* ⇒ CString
char ss[] = "Hello";
CString str;
str.Format("%s", ss);
(Format대신에 GetBuffer()를 써도 됩니다.)