Hi (to those who enjoy a greeting),
I need help with a task dealing with I/O streams that isn't covered in any basic tutorials or the book I have. My problem is that I need to use a program (compiled from c++ of course) to send a file that will also function as a program to another area of my computer or network. Basically this:
MY COMPUTER --main program--> NETWORKED COMPUTER
MAIN PROGRAM (on networked computer) --accessory program--> DIRECTORY (on networked computer)
Please note: There can't be any calls to copy a file or program from my computer to the other. It must all be rapped neatly in the main program.
I have tried many things, some of which don't make sense (I got frustrated). I have already tried sending a function to another location by this code:
However, as I predicted, it sent the returned value of the function rather than the function itself after compilation.Code:otherfile << function(parameters);