how to pass a command line argument to a c++ file through a python code?
- by mekasperasky
i am compiling a c++ file in python code using this os.system("rc.cpp") and then os.system("./a.out") . I would like to pass a command line argument to the rc file . how do i do it?