일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- ios
- class
- AS3
- 태그를 입력해 주세요.
- 아이튠즈
- builder
- 영어
- 경로
- iphone
- path
- AIR
- 배열
- Ane
- Flash
- sdk
- 단축키
- Build
- flash builder
- smartfoxserver
- unity
- swf
- XML
- 3d
- Game
- Android
- Mac
- 게임
- unity3D
- texture
- file
- Today
- Total
목록개발관련(Development)/씨뿔뿔(C++) (11)
상상 너머 그 무언가...
![](http://i1.daumcdn.net/thumb/C150x150.fwebp.q85/?fname=https://blog.kakaocdn.net/dn/cPTFXQ/btqZWONyMtm/ZIrsp0fS2TnHyTlZIi3OK1/img.png)
2차원 vector 사용법을 알고나면 포인트 객체 사용하는거 말곤 큰 차이는 없는듯 하다. // Example program #include #include #include #include #include struct profile { char* name; int age; }; int main() { profile clack; clack.name = "clack"; clack.age = 11; std::cout
![](http://i1.daumcdn.net/thumb/C150x150.fwebp.q85/?fname=https://blog.kakaocdn.net/dn/bFE2Lm/btqZYlKWPB4/mRjL7xtvkGojMYWacvZde1/img.png)
가물가물 헷갈리는것들 척 하면 착 하고 기억나면 좋겠다 cpp.sh/6ssga // Example program #include #include #include #include #include int main() { /* std::string name; std::cout
unsigned char num1 = 1; // 0000 0001 unsigned char num2 = 3; // 0000 0011 printf("num1 ^ num2 = %d\n", num1 ^ num2); // 0000 0010: 01과 11을 비트 XOR하면 10이 됨 int num3 = num1 ^ num2; printf("num3 = %d\n", num3); // 0000 0010: 01과 11을 비트 XOR하면 10이 됨
참조 : json_objec.h File Reference ● json 객체가 배열 json 객체인지 체크if ( json_object_get_type( test_array_json ) == json_tyoe_array ) ● 배열 json 의 길이 구하기int array_len = json_object_array_length( test_array_json ); ● 배열json 에서 0번째 index에 해당하는 object 구하기json_object *test_array_idx0_json;test_array_idx0_json = json_object_array_get_idx( test_array_json, 0 ); ● 0번째 index 의 object 에서 정수값 구하기int test_array_idx_..
Visual Studio Express 2010 제품키 출처 : http://helal7star.blogspot.kr/2014/04/microsoft-visual-studio-2010-express_12.htmlMicrosoft Visual Basic 2010 Express Key: 2KQT8-HV27P-GTTV9-2WBVV-M7X96Microsoft Visual C# 2010 Express Key: PQT8W-68YB2-MPY6C-9JV9X-42WJVMicrosoft Visual C++ 2010 Express Key: 6VPJ7-H3CXH-HBTPT-X4T74-3YVY7Microsoft Visual Web Developer 2010 Express Key: CY8XP-83P66-WCF9D-G3P42-K2..
c+ 코딩 하면서 가장 귀찮은 것 중에 하나 멤버 액세스 연산자(–>) 쉽게 입력하는 방법 뭐 없을까?
visual studio 줄 번호 표시도구(T) > 옵션(O) > 텍스트 편집기 > 모든 언어 > 줄 번호(L) 선택
C++ 에서 콘솔이 아닌 디버그 출력을 하러면OutputDebugString() 함수를 사용하면된다. OutputDebugString( "디버그 테스트" ); 이렇게 하면 디버그 테스트 라는 문자열이 출력창의 디버그 로 텍스트가 찍힌다. 단점은 문자열만 입력이 가능하다숫자를 디버그 출력창으로 출력하러면 숫자를 아스키코드로 바꿔주는 itoa 함수를 사용해서 문자열로 바꿔 사용해야한다. int num = 32;char numString[10] = {0};itoa(num, numString, 10);OutputDebugString(numString); ※ 주의할점은 자동줄바꿈이 안되기 때문에 문자열 뒤에 \n 를 넣어줘야 줄바꿈이 된다.
myArray[ 2 ] = { 0, 0 };