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.
Mārtiņš Možeiko
In such case you are accessing completely different variable. If you put something as "static" in…
»
Kknewkles
I understand what define does. What I don't understand is how come the variable in a header file,…
»
Abner Coimbre
Short Answer #define internal static will replace every word called internal back to static, and…
»
Mārtiņš Možeiko
Oh. DLL file has path to pdb file embedded inside. If you would open DLL file in hex editor you s…
»
Roderic Bos
The PDB is an option supplied to the linker, so probably the linker sets this filename somewhere …
»
Kknewkles
I've forgotten the second part of my question, one that really baffles me. Why the hell does it …
»
Ameen Sayegh
thank you for the replay my question is little ambiguous I meant when I'm debugging the applicat…
»
Mārtiņš Možeiko
MSDN documentation on cl/link arguments is pretty good, use it: https://msdn.microsoft.com/en-us/…
»
Ameen Sayegh
when debugging, does anyone know how visual studio can tell what the name of the PDB file for han…
»
Ameen Sayegh
thank you a lot this is very helpful but what is this syntax I can't find the documentation and …
»
Casey Muratori
As a sidenote, it is usually good form to do the typedef version when you are making a header tha…
»
Mārtiņš Možeiko
You can also use anonymous struct there: 1 2 3 4 5 6 7 8 9 10typedef struct { char *…
»
Adam
Cheers for the explanations! abnercoimbre, whats the virtue of using typedef life that? Why not j…
»
Abner Coimbre
Sealatron wrote: Just curious why struct==class is a benefit? I didn't mean that the C struct is…
»
Neil Blakey-Milner
jorockstar Hello everyone, I have installed VS community 2013 and when I debug my code, I can't g…
»
d7samurai
Sealatron Just curious why struct==class is a benefit? Does that mean they're interchangeable or …
»
Jonathan Riendeau
Hello everyone, I have installed VS community 2013 and when I debug my code, I can't get the watc…
»
Adam
abnercoimbre I am wondering why casey is using cpp files but writing in a C fashion, (and not jus…
»
Abner Coimbre
Given that this week we have no stream, it'll give those of us working on this a chance to add th…
»
Kasper Sauramo
Thanks! I'm not that far myself so hadn't spotted it :) We're figuring out a way to automate thes…
»
popcorn
Thanks for putting this out, I can actually stretch the video. There's one broken link in day 58.…
»
popcorn
For a long time I have put cpp after my file but only use classes. I knew about inharence but nev…
»
Abner Coimbre
I am wondering why casey is using cpp files but writing in a C fashion, (and not just use plain C…
»
Mārtiņš Možeiko
Casey have mentioned that he does like some of C++ features and that is why he uses C++ not pure …
»
nikki
I am wondering why casey is using cpp files but writing in a C fashion, (and not just use plain C…
»
Kknewkles
Stupid me. Make another header for custom types - I can swear I had that thought. Thanks. So I g…
»
Abner Coimbre
The preprocessor runs independently for each file. Should you have #define internal static on a s…
»
Kknewkles
When Casey started separating source code into multiple files, I noticed that handmade.h and hand…
»
Casey Muratori
For the record, yes, I usually have bool8, bool16, bool32, bool64. This has nothing to do with a…
»
Benjamin Kloster
5sw To get meaningful results you really should compile with optimizations for such tests. To b…
»