Added main.c
This commit is contained in:
parent
89d1239c1b
commit
5fe0e8ace3
3 changed files with 12 additions and 0 deletions
|
@ -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
BIN
src/main
Executable file
Binary file not shown.
6
src/main.c
Normal file
6
src/main.c
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
#include <stdio.h>
|
||||||
|
|
||||||
|
int main() {
|
||||||
|
printf("Hello, world!\n");
|
||||||
|
return 0;
|
||||||
|
}
|
Loading…
Reference in a new issue