Skip to content

Instantly share code, notes, and snippets.

@LazyRen
Created May 18, 2020 19:29
Show Gist options
  • Save LazyRen/c5502f65e4d0429b82307180c122901d to your computer and use it in GitHub Desktop.
Save LazyRen/c5502f65e4d0429b82307180c122901d to your computer and use it in GitHub Desktop.
#!/bin/bash
FILE_NAME=${1?Error: No file name found}
echo g++ -o "${FILE_NAME}".exe "${FILE_NAME}".cpp ${@:2}
g++ -o "${FILE_NAME}".exe "${FILE_NAME}".cpp ${@:2}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment