2002 Division of Internet Engineering, °í±ÞÁ¤º¸Ã³¸®1

º» °­Á´ C++ LanguageÀÇ ¹®¹ý°ú ±¸Á¶¿¡ ´ëÇÑ °³³ä ¼³¸í, ±×¸®°í ½Ç½ÀÀ» ÅëÇÏ¿© C++ ÇÁ·Î±×·¡¹ÖÀÇ ´É·ÂÀ» ¹è¾çÇÏ´Â °ÍÀ» ¸ñÇ¥·Î ÇÑ´Ù. »ó¼¼Çϰí Ãæ½ÇÇÑ ¿¹Á¦¿Í ´Ù¾çÇÑ ¿¬½À¹®Á¦µéÀ» Á÷Á¢ÀûÀ¸·Î ´Ù·ëÀ¸·Î½á Çлý ½º½º·Î ±³°ú ³»¿ëÀ» ÇнÀÇÏ°í ±íÀÌÀÖ°Ô ÀÌÇØÇÒ¼ö ÀÖµµ·Ï °¡¸£Ä£´Ù.(Æò°¡¹æ¹ý : Ãâ¼®: 20%, °úÁ¦: 20%, Áß°£°í»ç: 30%, ±â¸»°í»ç: 30%) [02.3.5,7] Introduction
PROGRAM 0 : helloworld.c

#include <iostream>
using namespace std;

int main(void)
{
    cout << "Hello, world!" << endl;
    return 0;
}

[02.3.12,14] 2. C++ Syntax and Semantics, and the Program Development Process [02.3.19,21] 3. Numeric Types, Expressions, and Output [02.3.26,28] 4. Program Input and the Software Design Process [02.4.2,4] 5. Conditions, Logical Expressions, and Selection Control Structures

procedence and associativity of operators

Operators

Associativity

+(unary) -(unary) ++ -- !

* / %

+ -

< <= > >=

== !=

&&

||

= += -= *= /= etc

right to left

left to right

left to right

left to right

left to right

left to right

left to right

right to left

[02.4.2,4] 6. Looping [02.4.9,11] 7. Functions [Notice] 4¿ù 26ÀÏ report(2,3,4,5,6,7Àå) üũ, 5¿ù 2ÀÏ Áß°£°í»ç(½ÃÇè¹üÀ§ 2,3,4,5,6,7Àå report, exam questions) Áß°£°í»ç ½ÃÇèÀº 5¿ù 2ÀÏ Àú³á 6:50ºÐ ºÎÅÍ 8:20ºÐ ±îÁö. È­¿äÀÏ 5,6,7±³½Ã ¼ö¾÷ÇлýÀº ÀüÀÚÁ¤º¸°ü 2107°­Àǽǿ¡¼­ ¸ñ¿äÀÏ ¾ß°£ 2,3,4±³½Ã ÇлýÀº »êÇÐÇù·Â°ü 5423°­Àǽǿ¡¼­ ½ÃÇèÀÌ ÀÖÀ½. middle exam

[02.5.14,16] 8. Scope, Lifetime, and More on Functions [02.5.21,23] 9. Additional Control Structures
  • rainfall.cpp
  • Exam Questions
  • Report : Quick Check, Exam Preparation Exercises, Programming Warm-up Exercises, Programming Problems (id % n+1)
[02.5.21,23] 10. Simple Data Types : Built-In and Use-Defined [02.5.30,6.4] 11. Structured Types, Data Abstraction, and Classes : Classes and Data Abstraction, 14. Object-Oriented Software Development : Inheritance, Composition, and Virtual Functions, [02.6.11] 12. Arrays [Notice] 6¿ù 21ÀÏ report(8,9,10,11,12,14Àå) üũ, 6¿ù 20ÀÏ Áß°£°í»ç(½ÃÇè¹üÀ§ 8,9,10,11,12,14Àå report, exam questions) Çб⸻°í»ç ½ÃÇèÀº 6¿ù 20ÀÏ(¸ñ¿äÀÏ) Àú³á 6:50ºÐ ºÎÅÍ 8:20ºÐ ±îÁö. È­¿äÀÏ 5,6,7±³½Ã ¼ö¾÷ÇлýÀº A204(µå¸²À̺§¸®)°­Àǽǿ¡¼­ ¸ñ¿äÀÏ ¾ß°£ 2,3,4±³½Ã ÇлýÀº A205(µå¸²À̺§¸®)°­Àǽǿ¡¼­ ½ÃÇèÀÌ ÀÖÀ½.




[Last Update: 2002.2.24] Dongseo University Cyber Campus