Handmade Hero»Forums»Code
Jesse Coyle
37 posts
?Visual Studio file shared prepossessor cmds
So in episode 11, we start to get into multiple files. I grabbed the day 11 source(since I was behind it was already there) and listened it. But I found that he had no problem with calling internal and typedefs in both the handmade.cpp and handmade.h, However I got errors that all I could relate to is that it didn't know about the #define and typedef's in win32_handmade.cpp.

tl;dr:
Anyway I can get things like typedef's and #define to be defined outside of the file where defined?

I'm using Visual Studio 2013 Community Edition

If you guys need some more info, Just say so, and I'll make it so.
8 posts
?Visual Studio file shared prepossessor cmds
I am not sure what the issue is, but I would recommend starting this topic on the much busier (and more appropriate) code forum : ). https://forums.handmadehero.org/i...-discussion?view=category&catid=4
Casey Muratori
801 posts / 1 project
Casey Muratori is a programmer at Molly Rocket on the game 1935 and is the host of the educational programming series Handmade Hero.
?Visual Studio file shared prepossessor cmds
I'll move it over there.

- Casey