1 questions
I want to run the following code in nodejs.$ gcc test.c$ $ ./a.out < inputfile.txtSo I wrote the following code.var gpp = spawn('g++', ['test.cpp']);var run = spawn('./a.out', ['< input.txt']);v...
© 2024 OneMinuteCode. All rights reserved.