Recent Forum Threads

Forum Code
Post date March 6, 2017, 9:17 p.m.

Specular light in OpenGL


Hey everyone, I'm trying to learn about lighting using OpenGL. I'm using the fixed APIs (no shad…
Forum Code
Post date Oct. 13, 2016, 7:41 p.m.

solution for arrow vs. dot to access struct member


This is a trick so you can always use -> instead of . to access struct members. The trick is t…
Forum Code
Post date Oct. 13, 2016, 4:13 p.m.

Is there an "offical" place for CTime tool?


I tried CTime and it is a very cool tool. I found a bug when trying to display the stats on a fi…
Forum Code
Post date Oct. 5, 2016, 10:06 a.m.

Day 127: Aligning OutputBuffer for SIMD, Why are we masking?


Hi there, I am following handmade hero and I found something interesting on day 127. Casey align…
Forum Code
Post date Feb. 28, 2016, 1:08 p.m.

How to convert (format) double to string?


for the last few days, I was trying to write a function that convert IEEE 754 double precision fl…

Recent Forum Replies

Forum Code
Post date Oct. 15, 2016, 7:58 a.m.

solution for arrow vs. dot to access struct member

Yes, it can be confusing but it is an array of one element so it is too much confusing. Also it's…
Forum Code
Post date Oct. 13, 2016, 6:06 p.m.

Is there an "offical" place for CTime tool?

@hugo, the code that generates the graphs is the code that is crashing. I accidentally triggered …
Forum Code
Post date Oct. 13, 2016, 6 p.m.

Is there an "offical" place for CTime tool?

The code I took from gist (I assume it is yours) was crashing when I ran it to see the stats (loc…
Forum Code
Post date Oct. 5, 2016, 8:27 p.m.

What to learn before starting the series?

@brothir, your answer is the best. Unfortunately C is very old and the standard library is very …
Forum Code
Post date Oct. 5, 2016, 7:25 p.m.

clang-format for formatting C/C++ code

This is how I use it: 1 2 3 4 5 6 7 8 9 10 11 12// templates.h #define DEPLOY_SINGLY_LI…