+ 1
C++ give contents of clicked file to program
Hey, Iām working on an interpreter in C++ but I want files with the .lang extension to open the program with the contents of the file loaded into a variable. If you donāt understand what Iām after, please ask and Iāll try to re world this. Iāve tried looking up how to go about it, but no luck. Basically, when you have say, a python file, and you click it, the program runs. This is what Iām looking for. Thank you for any help.
1 Answer
0
So basically you are trying to make a program that runs files?