How to use c++ compile program that does not need to compile every time we need to run it?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

How to use c++ compile program that does not need to compile every time we need to run it??

i mean an "exe " file that works independently.

28th May 2018, 7:48 AM
Daniyalmoosafar
Daniyalmoosafar - avatar
3 Answers
+ 9
It seems as if you forgot to remove your email here: https://www.sololearn.com/Discuss/1309694/?ref=app
31st May 2018, 7:33 PM
Koketso Dithipe
Koketso Dithipe - avatar
+ 8
Please stop giving out your Email, it's prohibited on SoloLearn. If you want to find people in C++, you can contact them in the SoloLearn server on Discord found here:https://discord.gg/f4zcZmT Please edit out your Email where you've been posting it.
31st May 2018, 7:25 PM
Koketso Dithipe
Koketso Dithipe - avatar
+ 5
You can not do this using the Sololearn app. You are going to need to have a compiler installed on your computer/phone. In Linux (or in Android, using Termux), simply write "c++ input_file1 input_file2 ... input_filen -o output_file", replacing the input_files with the names of the input files and output_file with the name of the executable you want. Then write "./output_file" to execute it. On Windows, your best bet would be to download an IDE like Visual Studio.
28th May 2018, 7:58 AM
Vlad Serbu
Vlad Serbu - avatar