Author Topic: Reusing Code  (Read 1532 times)

Offline Super_Stinger

  • Multiple posting newcomer
  • *
  • Posts: 10
Reusing Code
« on: April 29, 2014, 07:20:27 pm »
Hi all, first post on this forum!

I find that i am reusing alot of my code and i find that im doing a fair amount of copy and pasting ( whether it be files or just code )

I see that various various libraries have ways of allowing multiple projects to use the same code from the same place ( using the same function )
I would like to do this aswell with my own code, however, im not sure exactly how

I am writing in plain C and I want to store both .c files and .h files, this is because i want to modify the files as im working on projects

If anyone can outline how to do this, that'd be great,
Many Thanks,
Super Stinger

EDIT: I should probably post some details

Codeblocks ( with MingW ) Version: 10.05
OS: Windows 7
« Last Edit: April 29, 2014, 07:27:30 pm by Super_Stinger »