0

How do I compile and perform a c ++ syntax in termux after I write it down

I made the codes through my phone

17th Nov 2020, 12:32 PM
Renaldi Hakim
Renaldi Hakim - avatar
7 odpowiedzi
+ 1
Thanks.
17th Nov 2020, 1:18 PM
Renaldi Hakim
Renaldi Hakim - avatar
+ 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.
17th Nov 2020, 3:52 PM
Saumya Rawal
Saumya Rawal - avatar
0
I used acode as text editor, and tried to write syntax c ++. But when I'm compile, don't show anything
17th Nov 2020, 1:44 PM
Renaldi Hakim
Renaldi Hakim - avatar
0
Okey. Thanks for your answer
17th Nov 2020, 1:56 PM
Renaldi Hakim
Renaldi Hakim - avatar