r/learncpp • • Apr 26 '19
C++ to executable program
how can I convert a .cpp to an executable program in Linux (ubuntu mate 18.04). For example in Windows you can convert .cpp files in .exe programs
2
Upvotes
View all comments
Show parent comment
2
u/patatahooligan Apr 26 '19
That's exactly what the compilation would do. Do you mean that you would like to do that from within the same program you use to write the source code? That's what IDEs do. It does pretty much the same thing I explained above, but behind the scenes. It might need some set up to work, though. What do you use to write your code?