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