I have some functions and MFC derived classes written by me. When I need to REuse the code for a class I add the
.h file and .cpp file for that class into a project and everything is fine. When I need a function I just go
and copy-paste it into my app.
My question is: I understood that reusable code is good to be held in .lib files (am I wrong?). HOW could I
input my codes into such kind of files and just link them to my project? Is there another (better or simpler)
solution? (Please note that I don't know anything about implementing .dll files and I wouldn't like to mess
with them (yet), I'm still a beginner....)
.h file and .cpp file for that class into a project and everything is fine. When I need a function I just go
and copy-paste it into my app.
My question is: I understood that reusable code is good to be held in .lib files (am I wrong?). HOW could I
input my codes into such kind of files and just link them to my project? Is there another (better or simpler)
solution? (Please note that I don't know anything about implementing .dll files and I wouldn't like to mess
with them (yet), I'm still a beginner....)