Question: I’m messing around, learning some new stuff and I wanna create a header file with code for all the functions I usually use. Is there a way to have this file present in every new Repl I create for C++? Or is there a way to store this header file on my laptop and include it in any Repl I create right from my laptop? How do I do that? How do I include a file on my Repl that’s there in my laptop?
create a repl with the pre-included files, and publish as template: click on repl name in top right > ⋮ > Publish > Publishing > Submit as Template for Review, Publish. If you think it’ll be a good general starting point, make sure that it’s well-documented, and ping a mod (usually RayhanADev) in the repl’s comments to review it, so it can be there in the search results when you create a new repl.
Then, fork this template repl (repl name in top right > ⋮ > Fork) whenever you want to create a new C++ repl.