Hey all I have this program that is supposed to output a stickfigure.
I got this from my game programming elective class (which I now regret enrolling to) and the professor told us to work on it in a way that the class called "example" with the function render should call the stickfigure class's own rendering function to draw the stick figure. The example class's render function in turn is then called by my main function for display.
Sooo, the code he gave was on a powerpoint presentation. And I basically copy and pasted the code to what I think were their respective .cpp and .h places.
I compiled the code and displayed a window with just a black background. I tried tinkering with it too errr fix it, and now the code gives me 19 lnk2019 errors, with the complementary lnk1120 error.
I am very much clueless of what to do now (and what I have been doing while I was tinkering with it).
I desperately need help in understanding this.
Attached are the source files I have been using, along with the powerpoint presentation if that is of any help.
EDIT: oh wait, I'm not allowed to attach powerpoint files, so I converted it to a .pdf instead.
Thank you so much to those who'll be helping me. Understanding this will lead me one step closer to making our final project.
PS.
Aside from rendering the figure, there is a part in the code where it can animate the stick figure. Although I think he did not require us to animate the figure I still took a wild guess on calling the function for that in the prepare method of the example class, so sorry for that.
Thanks again!