I’m not sure if i’m asking a valid question, but here goes.
I have c++ solution with a structure of
[folder] Header files –
… 200 header files ..
[folder] Source files –
… 200 soure files ..
… rest
Is it possible to organize header and soure files by folders as you would in a C# project? The problem I’m facing is, as the project grows, it gets tiresome to navigate through a huge pile of files, which would be much easier to navigate to, if they were organized by functionality (such as folders and namespaces in c# projects).
Is there a some kind of standard, that would be supported by a wide variety of compilers and not Visual Studio alone ?
Example:
[folder] Header files –
- [folder] X domain
- 100 header files
- [folder] Y domain
- 100 header files
[folder] Source files –
- [folder] X domain
- 100 cpp files
- [folder] Y domain
- 100 cpp files
… rest
Header/Source file is not a requirement imposed by Visual Studio. That’s just the default layout, and it’s virtual, not physical. If you click “Show all files” in the solution explorer, it will show the folder tree as it is on the hard drive- which you can manipulate as you see fit. This is the only sane configuration and I have no idea why the default is that way. Plus, naturally, they fixed it for C# projects but not C++.