It was a pretty easy solve
https://github.com/Yumtard/Spaceballs/pull/2/files
Build errors
Re: Build errors
Chili
Re: Build errors
wow awesome! Thanks
Seems like my code for bullets hitting mines are just working sometimes so back to the drawing board on that one
So when do I want to include in the cpp file rather than in the h file? And what does "class" in the parameters do? is that the forward decleration?
Re: Build errors
Basically, yeah that's what you do. Remember the T18 video you said wasn't so important, well it explains the problem of circular dependency and how it relates to the preprocessor. I suggest you revisit it sometime and take a closer look, the info will help you in understanding and fixing these problems.
And yes, the "class" is the forward declaration part that tells the compiler "Hey there's this class called Ship. Trust me. I'll tell you all about it later."
And yes, the "class" is the forward declaration part that tells the compiler "Hey there's this class called Ship. Trust me. I'll tell you all about it later."
Chili
Re: Build errors
Haha alright Guess I'll have to give tut a rewatch!