입력
int _count = 0; std::cin >> _count;
출력
std::cout << _count;
파일 입력 출력
char inputString[MAX_SIZE]; ifstream file("input001.txt",ios::in); while(!file.eof()){ file.getline(inputString, 1000); std::string _input = inputString; cout << _input.c_str() << endl; } file.close();
'Programming > 기초' 카테고리의 다른 글
메모리 페이징 (0) | 2018.06.03 |
---|---|
비트 연산 쉬프트 연산 (0) | 2018.05.29 |
네크워크 기초 (0) | 2018.05.27 |
포인터를 쓰는 이유 (Call - By - Reference) (0) | 2018.05.26 |
시간 복잡도 (0) | 2018.05.26 |
vector, deque, list 간단 비교 정리 (0) | 2018.05.26 |
라이브러리 프레임워크 차이? (0) | 2018.05.26 |
시스템 메모리 구조 (0) | 2018.05.26 |