Jump to content
  • Advertisement
Sign in to follow this  
CreepingDeath666

including multiple .cpp files into a project.

This topic is 4995 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I have several .h and .cpp files that I use to do different things such initialzing DX9 and rendering, etc. I was wondering how I would actually insert the .cpp files into the project because as it stands, I get a lot of linker errors

Share this post


Link to post
Share on other sites
Advertisement
Quote:
Original post by CreepingDeath666
Ok that didn't work. and no, I will not apologize because you didn't help me at all and you rated me down for nothing


i did not rate you down
if it is posible can a mod prove that i didnt?

and please post the code in init.cpp

Share this post


Link to post
Share on other sites
ok. I created all of my .cpp files within my project so they were already added. I just couldn't figure out the linker errors so I just deleted all of the .h and .cpp files and put every function into init.cpp directly. It may be ugly but it compiles and runs now.

Share this post


Link to post
Share on other sites
you can check who you've rated in the GD.net control panel (under members, above) and also you can see who has rated you and how

Share this post


Link to post
Share on other sites
Quote:
Original post by Madster
you can check who you've rated in the GD.net control panel (under members, above) and also you can see who has rated you and how
You can only see who rated you positively(for obvious reasons)

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!