>>105992250 (OP) All in the same directory. If you need a more complex file structure it means you're using too many files. >Where do you put other libs that are projects of their own Same directory. Most of them are single files. >other cross-platform versions of your app? Why would I make versions for other platforms?
>>105992674 Mostly command line porn stuff for my personal use but I consider it real software.
Anonymous
7/23/2025, 12:56:40 AM No.105993186
>>105992250 (OP) if you think cutting up your code into tiny pieces where each struct goes into a single file will make your code more readable than you are better off going back to java with the jeets
Anonymous
7/23/2025, 4:43:32 AM No.105994870
>>105992250 (OP) Not a C++ dev but last software I vibe coded was a security tool for an online game that reencrypts the traffic to block boting, so it had to be on C++. I just placed everything on a single cpp file and used large comment lines to organize the file sections. It looks kinda cool on vscode.
>>105992250 (OP) I used to do /src & /include but have since stopped, everything goes in the root now (except public headers) with main and module glue files being at the true root and the code for modules being in sub directories. I have a /lib folder where I place all my stolen code and git submodules. My build folder has a directory for each target I support, used to just clean and switch targets but I found when developing I would test on each target and clean building each time was stupid
Anonymous
7/23/2025, 6:24:33 AM No.105995484
main.cc goes in root. all my stuff in src. everything else it its own directory.