Take the 2-minute tour ×
Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

I'm working as an C/C++ programmer. As I'll be coding, I feel some parts of my code have to be saved for future reference. Since I frequently experiment with my PC, I feel saving in my hard-disk is not a good option. So, I would like to save my pieces of code in some online repository which helps me for future reference of the logics & algos which I've written. Please suggest any app, that save my code pieces. Thank you


migration rejected from superuser.com Feb 28 at 7:45

This question came from our site for computer enthusiasts and power users. Votes, comments, and answers are locked due to the question being closed here, but it may be eligible for editing and reopening on the site where it originated.

closed as off-topic by Al E., Alex, pnuts, John C, jonsca Feb 28 at 7:45

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Application/website recommendations are off-topic and out of scope. It is better instead to use a particular web app or website and ask for help in any issues you have with it specifically." – Al E., Alex, pnuts, John C, jonsca
If this question can be reworded to fit the rules in the help center, please edit the question.

3 Answers 3

If it's just for pieces of code/algorithms :

For "real" projects : https://github.com/

GitHub keeps your public and private code available, secure, and backed up. Stop hoarding code on your hard drive; it takes less than a minute to push code up to GitHub and start collaborating with others.

+1 for github's gist feature –  Piers Karsenbarg Jan 18 '11 at 13:32
  • There is github for git, not free.
  • There is bitbucket for mercurial, is free.
  • There is kiln for mercurial, not free.
  • There is assembla for git, mercurial and subversion, not free.
Github is free as in beer for 300 MB of storage. Somehow after a couple years and 25+ repos I'm still using less than 20% of that. –  l0b0 Feb 14 '11 at 16:20

you could always use a subversion repository such as kenai.com which is free and integrates with any subversion client. Then you are able to store snippets within a project or something similar that is backed up.

Failing that, I would suggest Evernote as suggested above.


Not the answer you're looking for? Browse other questions tagged or ask your own question.