GameHackingAcademy / gamehackingacademy.github.io

Apache License 2.0
11 stars 5 forks source link

Fixed example to be valid C #1

Closed fineless71 closed 7 months ago

fineless71 commented 8 months ago

I just realized from the string maybe this is meant to be more pseudo-code and not actual examples. (of course could be using namespace std;). It does mess up the syntax hightlighting though: image

attilathedud commented 7 months ago

Appreciate the commit! In this case, I want to keep the original language since it is pseudo-code and I don't want to overload a reader that is potentially new to programming with function types.

Let me know if you disagree and we can discuss more.