KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
This seems like fairly basic functionality but, everywhere I look, the answer seems to be no. Here's the thing: I've got a folder full of files I need to include in a c++ application. They're all named "FileX.h" where X is a number from 1 to 400. I did this because I figured there was a way I could say something like #include "File*.h" and it would include every file that fits that pattern. The order in which the files are included does not matter. I realize now I probably should have made the files into a shared library or something similar but, for future reference, I'd really like to know if this is possible. So, is there someway to include all of these files with one #include statement? Or, failing that, is there a way to include a whole directory worth of files (ie. #include "C:/project/includes/" ) in c++?
Tags (comma-separated)
Save Edits
Cancel