0
How do I compile and perform a c ++ syntax in termux after I write it down
I made the codes through my phone
4 Respuestas
+ 1
Thanks.
+ 1
Step 1 : apt install vi
Step 2 : creat c file
i.e : touch t1.c
Step 3 : apt install clang++
After writing code just save it into file
Step 4 : clang++ file.c
If file compiled successfully then....
$clang++ file.c
$./a.out
You have to just write ./a.out after successful compilation.
0
I used acode as text editor, and tried to write syntax c ++. But when I'm compile, don't show anything
0
Okey. Thanks for your answer