Skip to content

Instantly share code, notes, and snippets.

#include <iostream>
#include <cstring>
#include <string>
using namespace std; // 헤드 파일은 반드시 이 문장 앞쪽에 include해야 한다.
/******************************************************************************
* 아래 상수 정의는 필요에 따라 변경하여 사용하라.
******************************************************************************/
#define AUTOMATIC_ERROR_CHECK false // true: 자동 오류 체크, false: 키보드에서 직접 입력하여 프로그램 실행
@Snmluv
Snmluv / ch6_1.cpp
Last active May 27, 2026 01:18
CH6-1
#include <iostream>
#include <cstring>
#include <string>
using namespace std; // 헤드 파일은 반드시 이 문장 앞쪽에 include해야 한다.
/******************************************************************************
* 아래 상수 정의는 필요에 따라 변경하여 사용하라.
******************************************************************************/
#define AUTOMATIC_ERROR_CHECK false // true: 자동 오류 체크, false: 키보드에서 직접 입력하여 프로그램 실행