티스토리 뷰
#include <iostream>
void foo();
#pragma managed
using namespace System;
int main(array<System::String ^> ^args)
{
foo();
Console::WriteLine(sizeof(char) + " : sizeof(char) in main");
Console::WriteLine(sizeof(System::Char) + " : sizeof(System::Char) in main");
return EXIT_SUCCESS;
}
#pragma unmanaged
using namespace std;
void foo()
{
cout << sizeof(char) << " : sizeof(char) in foo" << endl;
}
void foo();
#pragma managed
using namespace System;
int main(array<System::String ^> ^args)
{
foo();
Console::WriteLine(sizeof(char) + " : sizeof(char) in main");
Console::WriteLine(sizeof(System::Char) + " : sizeof(System::Char) in main");
return EXIT_SUCCESS;
}
#pragma unmanaged
using namespace std;
void foo()
{
cout << sizeof(char) << " : sizeof(char) in foo" << endl;
}
'Code > C C++' 카테고리의 다른 글
[MFC] Simplest MFC Program (0) | 2010.04.23 |
---|---|
[C++] Regular Expressions Class: regex (0) | 2010.04.18 |
[C++/CLI] #pragma managed, #pragma unmanaged, Windows API (0) | 2009.05.09 |
[C++] 16진수 문자열을 2진수 문자열로 변환 (0) | 2009.04.19 |
[MFC] CString Sample (0) | 2009.03.17 |
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- DotNetMagic
- iText
- Phalanger
- 스크린캡쳐
- download.com
- windows
- AdSense감추기
- Microsoft
- Sample Code
- Rollback Rx
- Regular Expressions
- 유틸리티
- 애드센스감추기
- Automation
- ScreenHunter
- AxWebBrowser
- java
- READYSTATE_COMPLETE
- autohotkey
- tagREADYSTATE
- WinAutomation
- c#
- Service pack
- jre
- .net framework
- registry
- AdSense숨기기
- 애드센스숨기기
- iTextSharp
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함