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