How to output an executable using C++
How to output an executable using C++ I would like to have a program that can write another program to the disk. I guess the way would be to use standard binary write to a file. My problem here is that I do not know how to put the other executable in the source of my "installing" program. I do not want to have any extra files next to my installing program. I would like to use the mfc api for this if there is any need to use something other than the standard C++ put it to resource for example – RbMm Jun 30 at 10:24 The standard way to get a single file distribution is to use an installer or a zip file. Having one program secretly create a new file and execute that would likely trigger the virus protection on most systems. – Bo Persson Jun 30 at ...