I\'m using the ideone online interpreter (http://ideone.com/) to test some C++ and Python programs. How do I specify the command line arguments instead of using the STDIN input?
Just initialize to simulate the command line arguments
static char *argv[] = {"program_name", "1st argument", "2nd argument", NULL}; static int argc = 3; int main() { }