Anyone know if there is a way to include only part of a header file, and part of the c++ file? Say for example I want 1 class structure and definitions from a header file/c++ file, but I don't want the other stuff in that header file. Any way to get just that one thing, without getting the rest of it?
If I get all of it, it makes me include a lot of other files I don't want, because some of the other classes/functions require them. But the one class I want does not.