로딩
요청 처리 중입니다...

[C/C++] 'C' 와 'C++' 키워드 차이

 [C/C++] 'C' 와 'C++' 키워드 차이

C를 배우면서 많은 키워드를 배워 왔다. C에서의 키워드가 있듯이 C++ 에서도 키워드가 있는데 이를 비교하기 위해서 알아봤다.

키워드 C C++ 데이터형 char, int, short, long, unsigned, float, double, struct, union, typedof (C언어 키워드) + bool 반복문 for, while, do ~ while 분기문 if, else, switch, case, default, break, continue, goto 기억장소 auto, extern, register, static (C언어 키워드) + new, delete, this 기타 return, sizeof, enum, const (C언어 키워드) + catch, try, false, true, namespace 객체관련 class, private, protected, public, operator, template, virtual, friend 총 개수 30개 (30개) + 1...

# C # cpp # 객체지향 # 씨플플 # 절차지향 # 키워드