Notice
Recent Posts
Recent Comments
Creative Code
add.cpp(cin으로 입력받기) 본문
#include <iostream>
int main() {
int a, b;
std::cin >> a >> b; //cin.operator>>(a)
std::cout << a+b << std::endl;
return 0;
}
'C++ Programming' 카테고리의 다른 글
string4(reference counting사용) (0) | 2023.09.05 |
---|---|
string3(string 클래스 개선) (0) | 2023.09.05 |
main.cpp(Rational클래스 라이브러리) (0) | 2023.09.04 |
main.cpp(타입캐스팅) (0) | 2023.09.04 |
main.cpp(rational클래스 증감연산자) (1) | 2023.09.04 |