Jump to content
  • Advertisement
Sign in to follow this  
Josheir

Paste of Code Usage

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

Okay, I am using C++ for Asteroids and I am getting ready to post into something like :  http://paste.ofcode.org for code review.   I have 5 headers and 6 cpps including the main.cpp.  I was wondering if I should use different links or just put each one after each other? 

Maybe someones has created the idea of tabs?

Thank you,

Josheir

Share this post


Link to post
Share on other sites
Advertisement

You could post it on Git. I always view these paste it things as just for sharing throw away code snippets, not for entire projects. In Visual Studio (I don't know what environment/IDE you're using) you can synch up with a Git repository, and commit your project, and it's directory structure. This makes it a lot easier for sharing, and even working with other devs (You can branch off the main project and work on smaller features in a way that won't destroy the build when something goes horribly wrong).

I'd recommend creating an account if you haven't already: https://github.com/

I just think more people will be likely to dig through 11 source files in a nice repository than 11 separate hyperlinks.

Share this post


Link to post
Share on other sites

Now for both of these actions (git or upload,) the files will be .h or .cpp and I am using Visual Studio IDE (c++.)  Now will these source code files be view-able with other IDEs for these two suggestions?

 

Thanks again,

Josheir

Share this post


Link to post
Share on other sites

Sure, they are just plain text-files, and development environments that everybody has around here tend to understand those "weird" extensions like .h, .cc, .cpp, or .java (what I am doing today).

 

If you want to check, open them with wordpad (or notepad, which likely works for your files, I know it fails with unix files).

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!