We are currently in the process of converting the website to the new design. Some pages, like this one, are still broken. We appreciate your patience.
Gavin Williams —
So i removed all the other files from the project, and just built with Win32Handmade.cpp. And it r…
»
Mārtiņš Možeiko —
Yes, there is. Click right mouse button on file, choose Properties and then select "Yes" for "Excl…
»
Gavin Williams —
Ok, thanks guys for helping out, I think I AM fighting VS :( That sounds like what's happening, be…
»
Oliver Holliday —
I don't use VisualStudio but it is fairly typical that .cpp files will be compiled separately and …
»
Mārtiņš Možeiko —
When you get errors, which file are you compiling? Win32Handmade.cpp?
»
Gavin Williams —
#pragma comment(lib, "dsound.lib") // alternative to adding the lib as an additional dependancy /…
»
Mārtiņš Možeiko —
But is Win32Handmade.cpp included in this file you are showing? Or is this file included in Win32H…
»
Gavin Williams —
I have the typedef's in Win32Handmade.cpp. I just notices a VS2013 settings file in the hh source,…
»
d7samurai —
no, not me. i am not even saying i agree. i just told you what i think HE meant. ps. you don't nee…
»
Mārtiņš Možeiko —
Bah, I can't read :) stdint.h with uint32_t is not the problem! oliholli explained correctly what …
»
Oliver Holliday —
I guess you still haven't typedef'd uint32, uint64, etc. The compiler is looking at uint32 above S…
»
Mārtiņš Možeiko —
Oh, you want to overload every single operator/function also? In this case operator +=. I don't th…
»
Andrew Bromage —
My nickname, "Pseudonym", was chosen 25 years ago when I was reading GEB as an impressionable teen…
»
Mārtiņš Možeiko —
This error means that "uint32_t" is unknown to compiler. Have you included somewhere ab…
»
Gus Waldo —
Are you using a single translation unit? Maybe some of your includes are not in proper order?
»
d7samurai —
no, that wouldn't help, since you are actually adding the .Value members (that are all floats). mi…
»
Gavin Williams —
Ok, so the first error is Error 1 error C2146: syntax error : missing ';' before identifier 'SafeT…
»
Mārtiņš Možeiko —
Just start with first error. Don't look at big error list from bottom or middle. Typically by fixi…
»
Gavin Williams —
So maybe on my computer they aren't in the same compile unit. I'm sure I've missed something. I'm …
»
Mārtiņš Možeiko —
As far as I know the biggest difference is that with DirectInput on Xbox controller left and right…
»
Flyingsand —
I asked Casey on the stream the other day if he'd read the book "GEB" (Godel, Escher, Bach) by Dou…
»
Albert Elwin —
Just finished watching day 45 and I had a quick question about the geometric movement search (or s…
»
Wilson —
@zoo Thanks for all the insights about math. It really boils down to what you talked about, that f…
»
Mārtiņš Možeiko —
Blog post is about C, not C++.
»
Mārtiņš Možeiko —
Not sure I understand what you are suggesting. Something like this? struct v2 { XCorrd X; YCoord …
»
Livet Ersomen Strøm —
Sometimes I wonder if I can make a career over how to avoid c++. As long as I do it in c++ it can'…
»
Livet Ersomen Strøm —
Cant you create a xcoord type, ycoord type and so on, to let the compiler find those typos? Yes yo…
»
Mārtiņš Možeiko —
What do you mean different types? char, float and double? How that will work? Afaik all types need…
»
Livet Ersomen Strøm —
Shouldn't you really make the Z, X and Y coords different TYPES? Seems to me you make a lot of typ…
»
Blake —
Aaah okay. I've heard of unity builds but didn't realize that's what he was doing in the stream. E…
»