Is there a way to compile with g++ so that it creates a copy of the .cpp file in some place?

Revision en1, by ssum_way, 2018-03-01 00:28:42

I use ST3 to build my cpp programs. I'm trying to find if there is a way where every time I build my program, it creates a copy of the program in some other directory, kind of like how CHelper in Java creates a final output file in one location. I want this so that I can easily submit my file on codeforces, so I don't have to locate my file every time I solve a new problem.

Tags c++ compilers, g++, compiler options

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English ssum_way 2018-03-01 00:28:42 469 Initial revision (published)