+ 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 ответ
0
So basically you are trying to make a program that runs files?