Your skill will accomplish what the force of many cannot |
|
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Recently, I've been working on learning how to use C++. Or at least, to develop a working understanding of it. At school, I have a full two blocks during which I can get on computers, but neither of them have C++ compilers. I have a linux box at home, so the idea popped into my head to run a webserver off of it, with a single CGI page on it. I would put my C++ code into this CGI page(form), and it would then print the contents of the form into a file, and use a system call to compile it, and return any errors that actually came back.
Does anyone know if it's actually possible? It would be cool to do...having to wait a full day to check for bugs in my code is not efficient at all. The way I'm thinking of handling it is to have the CGI script write the form contents into a single file, and delete whatever was in there previously, before calling a system call on that file. However, I'm not 100% certain if I'm actually able to do that...does anyone know for sure? Thanks, Spidy UPDATE: After many people's hackles raising, I've decided to go with SSH, which, after testing, turns out to suit my needs perfectly.
|
|