Include args when running a C program.

Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
main
sigonasr2, Sig, Sigo 2 years ago committed by GitHub
parent 11930a4415
commit abf8eadd44
  1. 2
      C/scripts/build.sh
  2. 2
      C/scripts/md5

@ -2,6 +2,6 @@
#C #C
printf "Running program...\n\n\n" printf "Running program...\n\n\n"
if gcc $(find . -type f -name "*.c") ${CUSTOM_PARAMS} -o ${PROJECT_NAME}; then if gcc $(find . -type f -name "*.c") ${CUSTOM_PARAMS} -o ${PROJECT_NAME}; then
./${PROJECT_NAME} ./${PROJECT_NAME} "$@"
fi fi
printf "\n\n" printf "\n\n"

@ -1,2 +1,2 @@
build.sh:dbb1880f6b747ec208d6f277c0be61c2 - build.sh:fcbd8c14fe2a608d11166cf5aa7dba02 -
commit.sh:89783d2e6a165aa9612c79cfbd804a35 - commit.sh:89783d2e6a165aa9612c79cfbd804a35 -

Loading…
Cancel
Save