Taek
2. Exercise
1. main 함수는 int형을 반환하는 함수이다. 따라서 return 0;를 추가해야 한다.단, C99에는 main 함수에서 반환하지 않아도 IDE에 따라 오류가 나지 않는 경우도 있다. 2. a) directives : #include statements : printf("Parkinson's Law : \nWork expands so as to ");printf("fill the time\n");printf("available for its completion.\n");return 0; b) Parkinson's Law:Work expands so as to fill the timeavailable for its completion. 3. #include int main(void){int heigh..
C언어/문제 정리
2018. 7. 2. 19:17
출처
모든 내용은 Bjarne Stroustrup의 "Programming Principles and Practice Using C++"에 있으며, 여기엔 Drill과 Exercises에서 나온 제 소스를 공개합니다.
C++/출처
2018. 5. 22. 15:54