practicing proffessional cpp book
comments, module import (include), main(), I/O stream
- preprocess processs meta data from source code
- complie compile source code into machine code, object file (.o)
- link link multiple object files into application
expressions for preprocess
starts with #
#include [file]
#define [key] [value]
#ifdef [key] / #endif
#ifndef [key] / #endif
#pragma [xyz]
#pragma once -> define header with duplication check
int main(int argc, char* argv[])
argv[0] -> name of program
<format> in C++ 20
printf, scanf -> type safety insecure
space to resolve name collision problem