Uploaded November 2014 | Updated September 2026, 2 weeks ago
Today we'll look at a technique for reusing source code in C++ with Visual Studio. This video is intended as an answer to a question I was asked by a viewer.
When we're introduced to headers, class hierarchies and many other mechanisms in C++, we're told that they allow for code re-usability. And yet, when we add headers and CPP classes to our projects, they are largely tied to the projects. They are not reusable because they're stuck in the middle of a single project.
We're not often shown how to reuse code, we're only told that we can. It's one thing to say that you can reuse a header in 10 different projects, it's another thing to describe how. This video is a practical description and demonstration of how to reuse headers and CPP files in multiple projects.
This is not a video about using binary libraries, like linking to "obj" files or importing DLL's. This is a video about reusing uncompiled code so we can create a source engine which we can import and update in as many projects as we need.
Today we'll look at a technique for reusing source code in C++ with Visual Studio. This video is intended as an answer to a question I was asked by a viewer.
When we're introduced to headers, class hierarchies and many other mechanisms in C++, we're told that they allow for code re-usability. And yet, when we add headers and CPP classes to our projects, they are largely tied to the projects. They are not reusable because they're stuck in the middle of a single project.
We're not often shown how to reuse code, we're only told that we can. It's one thing to say that you can reuse a header in 10 different projects, it's another thing to describe how. This video is a practical description and demonstration of how to reuse headers and CPP files in multiple projects.
This is not a video about using binary libraries, like linking to "obj" files or importing DLL's. This is a video about reusing uncompiled code so we can create a source engine which we can import and update in as many projects as we need.










