Running the code

When i use the commands g++ main.cpp reservoir.cpp reverseorder.cpp and then ./a.out for my code which has mutliple files it ran but when i press the green run button on the top it did not run, i am confused why so

please link the repl or a minimal repl which reproduces the issue

1 Like

You have to configure the run button command. In hidden files, open .replit and set run to the command of your choosing.