C language 썸네일형 리스트형 [Handmade Hero] Intro to C on Windows - Day 4 1. Endian - High Order Byte Low Order Byte - DIsk에 있는 데이터 (이미지 오디오 등)을 어떻게 불러오는지 (Endian 유형)을 알아두어야한다. Little endian - Memory Layout: Low Order Byte comes first - Standard (x86, arm, x64) Big endian - Memory Layout: High Order Byte comes first - powerpc, xbox, playstation 2. Padding Byte struct projectilfe { char unsigned IsThisOnFire; int Damage; int ParticlesPerSecond; short HowManyCooks; } //.. 더보기 [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 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 다음