Command Line이란?
- 컴퓨터의 텍스트 인터페이스
- 프로그램은 커멘드를 통해서 실행을 위해 컴퓨터 operation system으로 이동한다.
Commend Line arguments
- parameters that are supplied to the program when it is invoked
argc & argv[]
int argc // argument count
- commend line arguments의
char *argc[] // argument vector
- The array of the pointers to all command line arguments
- All command line arguments are inputted as character strings
- argv[0] points to the program name
'Language Study > C' 카테고리의 다른 글
[C/C++] 10 - 04 파일 입출력 기초 (0) | 2022.12.14 |
---|---|
[C/C++] 10 - 03 Lifetime 분류 (1) | 2022.12.14 |
[C/C++] 10 - 02 문자열 버퍼 동적 할당 (0) | 2022.12.14 |
[C/C++] 10 - 01 메모리 동적 할당 (1) | 2022.12.06 |
[C/C++] 09 - 03 구조체 배열과 포인터 (0) | 2022.12.03 |