게임 썸네일형 리스트형 [Handmade Hero] Intro to C on Windows - Day 3 1. Pointer - Where is our value located at? char unsigned Test; char unsigned *TestPointer; TestPointer = &Test; // Identify address of "Test" using "TestPointer" 2. Virtual Memory - Divide memory into "pages" - OS uses table to view "pages" 3. Hardware - Non-trivial Distance b/w CPU and Memory = ~8cm - Speed of light = ~ 300M m/s - CPU clock = ~3.2 ghz - Speed of light / 3.2 ghz = ~9cm - CPU가 1.. 더보기 [Handmade Hero] Intro to C on Windows - Day 2 1. Macro Functions (ASCII, ANSI & Macro) - ASCII에서 ANSI로 넘어가면서 옛날에 쓰여진 코드가 충돌되지 않도록 windows.h 헤더 파일에 Macro가 쓰였다. - OutputDebugStringA for Unicode - OutputDebugStringW for ASCII - OutputDebugString for Macro 2. Basic Programming - Reserve space to represent number (ex: int Integer;) - Assign value to the space (ex: integer = 5;) 3. Variable Type Examples - char (0000 0000) - short (0000 0000 0000.. 더보기 [Handmade Hero] Intro to C on Windows - Day 1 1. 컴파일러 설치 - Visual Studio 2022 2. Solution의 이해 - Solution - - Project - - - Header Files - - - Source Files 3. Output의 이해 - Configuration (Ex: Build for 32 bit windows, 64 windows, Developer, Release, Retail) - Compiling (Ex: Translation for text file into x86 code) - Build Log (Mostly useless) 4. CPU의 이해 - Physical Processor (CPU divides into multiple cores) - Core (Runs applications, States) .. 더보기 이전 1 2 다음