Added main.c

This commit is contained in:
Aliberk Sandıkçı 2022-10-27 13:09:26 +03:00
parent 89d1239c1b
commit 5fe0e8ace3
3 changed files with 12 additions and 0 deletions

View file

@ -26,9 +26,15 @@ chmod +x prerequisites.sh
chmod +x applications.sh chmod +x applications.sh
bash prerequisites.sh bash prerequisites.sh
bash applications.sh bash applications.sh
bash prerequisites.sh
EX_PATH="$CUR_HOME"/.vscode/extensions/ EX_PATH="$CUR_HOME"/.vscode/extensions/
mkdir -p "$EX_PATH" mkdir -p "$EX_PATH"
mkdir -p "$CUR_HOME/Desktop/Codes/"
cp main.c "$CUR_HOME/Desktop/Codes/"
cp -r danielpinto8zz6.c-cpp-compile-run-1.0.18 "$EX_PATH" cp -r danielpinto8zz6.c-cpp-compile-run-1.0.18 "$EX_PATH"
cd "$CUR_HOME" || exit cd "$CUR_HOME" || exit
rm -r tmp_install rm -r tmp_install
sudo apt-get install gcc -y
echo "INSTALLATION SUCCESSFULLY COMPLETED" echo "INSTALLATION SUCCESSFULLY COMPLETED"
sleep 50
reboot

BIN
src/main Executable file

Binary file not shown.

6
src/main.c Normal file
View file

@ -0,0 +1,6 @@
#include <stdio.h>
int main() {
printf("Hello, world!\n");
return 0;
}