+ 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?