PDF4PRO ⚡AMP

Modern search engine that looking for books and documents around the web

Example: air traffic controller

Chapter 10. 포인터와동적배열 - parkjonghyuk.net

SeoulTech 2011-2nd (2). Chapter 10.. UCS Lab ( ). Tel: 970-6702. Email: Learning Objectives .. , , . this . , . UCS Lab 10-2.. : .. ! Call-by-reference .. UCS Lab 10-3.. Int double . ! : . double *p; ! p double . double . !! UCS Lab 10-4.. "*" . "*" . int *p1, *p2, v1, v2;. p1, p2 . v1, v2 . UCS Lab 10-5.. , ! (abstraction)! C++ . , .. UCS Lab 10-6. (1/3).. , .. , .. UCS Lab 10-7. (2/3). int *p1, *p2, v1, v2;. p1 = . p1 v1 . & .. : p1 v1 . p1 v1 . UCS Lab 10-8. (3/3). int *p1, *p2, v1, v2;. p1 = . v1 : v1 : cout << v1;. p1 : cout << *p1;. (dereference) , *. : p1 . UCS Lab 10-9.. : v1 = 0;. p1 = . *p1 = 42;. cout << v1 << endl;. cout << *p1 << endl;. : 42. 42. p1 v1 . UCS Lab 10-10. & .. call-by-reference . ! call-by-reference .. call-by-reference .. UCS Lab 10-11.. : int *p1, *p2;. p2 = p1;. p1 p2 . : *p1 = *p2;. p2 p1 .. UCS Lab 10-12.. 4-13. new .. new .. ! p1 = new int;. p1 . *p1 .. UCS Lab 10-14. (1/2). 4-15. (2/2). 4-16.

UCS Lab 포인터 개요 •포인터 정의: –변수의 메모리 주소 •메모리 분할 –넘버링 된 메모리 위치 –변수를 위해 사용된 메모리 주소

Tags:

  Chapter, Chapter 10, Parkjonghyuk

Information

Domain:

Source:

Link to this page:

Please notify us if you found a problem with this document:

Spam in document Broken preview Other abuse

Transcription of Chapter 10. 포인터와동적배열 - parkjonghyuk.net

Related search queries