C++ give contents of clicked file to program | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 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.

23rd Nov 2018, 1:10 AM
Mezza
Mezza - avatar
1 Resposta
0
So basically you are trying to make a program that runs files?
23rd Nov 2018, 3:13 PM
George Ryan
George Ryan - avatar