일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 31 |
Tags
- Android
- iBATIS
- ibsheet
- PLSQL
- 가우스
- PHP
- 전자정부프레임워크
- Google Map
- JSON
- Spring
- Struts
- sencha touch
- GPS
- MFC
- tomcat
- appspresso
- JDOM
- dock
- swingx
- MySQL
- 선택적조인
- jsr 296
- Ajax
- Eclipse
- node.js
- oracle
- WebLogic
- rowspan
- phonegap
- jQuery
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()를 써도 됩니다.)