News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Reusing Code

Started by Super_Stinger, April 29, 2014, 07:20:27 PM

Previous topic - Next topic

Super_Stinger

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