0
deleted cpp file after compiling?
Hi So i have a cpp file compiled with g++ with the old school command prompt. g++ -o app.exe main.cpp it works fine it created the app.exe just as i expected. I did a few more code on the cpp file and compiled it again. this time I typed the compile script incorrectly. g++ app.exe -o main.cpp it didnt compile and it deleted my cpp file. what happen? the file is not on my recycle bin either? this scares me ;(
1 Réponse
+ 1
If it's gone, it's gone. Just avoid the typo in the future. I'd recommend going to an IDE to save yourself from future CL errors.