Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

edwinnie

c++ stuffz

This topic is 5924 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

Advertisement
Namespaces are used to stop you writing functions that have the same name as other ones.

Templates are so you can use the same code for multiple types of data, etc.

They''re both just tools, use them when you need to.


Helpful links:
How To Ask Questions The Smart Way | Google can help with your question | Search MSDN for help with standard C or Windows functions

Share this post


Link to post
Share on other sites
Hehe true. It depends how you look at it I guess.

Is it a way to stop the compiler finding 2 functions with the same name and getting confused, or a way for you to write two functions with the same name?


Helpful links:
How To Ask Questions The Smart Way | Google can help with your question | Search MSDN for help with standard C or Windows functions

Share this post


Link to post
Share on other sites

  • 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!