Skip to content

Yih Horng

Programmer and Gamer

分類:C/C++ Tutorial

Callback in C++ Different Implementation between Old Style and Modern C++

古早 C++ 的 Callback 實作一般是這樣的。 class Callback { virtual void handler( int[…]

Continue reading …

C/C++ Tutorial, Goal-Oriented Style (3a) RPG homework in a nutshell (?)

The “RPG” homework in Chapter 3 第三章 (http://www.yhorng.com[…]

Continue reading …

C/C++ Tutorial, Goal-Oriented Style (2a) Tic Tac Toe - Determine the Best Move Using Recursive Function

在 C/C++ Tutorial, Goal-Oriented Style (2) 中,有一個問題是如何用遞迴 (Recursive) 算出[…]

Continue reading …

C/C++ Tutorial, Goal-Oriented Style (4) Smart Pointer and Thead

物件導向總結 這篇會提到稍微進階,但是依然是很常用的二個東西,一個是 Smart Pointer,一個是 Thread,最後還會稍微提一下 […]

Continue reading …

C/C++ Tutorial, Goal-Oriented Style (3) C++ Object

目標 本章最後會寫一個回合制的 RPG 遊戲,怪物是個物件,玩家是個物件,整個世界地圖也是個物件。 物件 (Object) 物件 (Obje[…]

Continue reading …

C/C++ Tutorial, Goal-Oriented Style (2) Memory and Address

目標 本章最後會玩成一個仿生態系進化的模擬遊戲,使用者在棋盤上某些位置放置生物後,觀察是否能繼續繁衍下去。會學到的東西有: 以 C/C++ […]

Continue reading …

C/C++ Tutorial, Goal-Oriented Style (1) What do we try to achieve and how to make it?

目標 這是篇目標導向 (Goal-Oriended) 的 C/C++ 入門教學 ,針對的是完全沒學過 C/C++ 的初學者寫的。本章目標是讓[…]

Continue reading …
  • Github
  • Linkedin
  • Email
  • Facebook

分類

  • C/C++ Tutorial
  • Computer Graphics
  • Daily log
  • Direct2D
  • Godot
  • Programming
  • Shader
  • Uncategorized
  • win32 api
Proudly powered by WordPress | Theme: Oblique by Themeisle.
  • Github
  • Linkedin
  • Email
  • Facebook