Skip to content

Instantly share code, notes, and snippets.

@MamdMehrabi
Created July 2, 2024 21:41
Show Gist options
  • Save MamdMehrabi/d7eef825c0a15a996906b43af89cb397 to your computer and use it in GitHub Desktop.
Save MamdMehrabi/d7eef825c0a15a996906b43af89cb397 to your computer and use it in GitHub Desktop.
How run c++ file ?

How run C++ file on terminal

In the first step, you have to compile your code, which is done with g++!

g++ main.cpp -o outer

And in the next step, we must run the compiled file!

./outer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment