(as shortcut parameters obviously) but the outputted CGI file returns a 404 error when I try to access it. The program works fine in the DOS prompt. Please help.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Sorry about the multiple posting! It wasn't intentional, I refreshed the forum page a couple of times to check for replies, but it resubmitted the post... :S
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This is probably a simple question, but how do I compile a C++ source file have written to a CGI program using DEV C++? I have tried this:
g++.exe "C:\My Files\CGI1.cpp" -o "C:\My Files\CGI1.cgi" -s -I"C:\DEV-CPP\include" -I"C:\DEV-CPP\include\g++-3" -I"C:\DEV-CPP\include" -L"C:\DEV-CPP\lib"
(as shortcut parameters obviously) but the outputted CGI file returns a 404 error when I try to access it. The program works fine in the DOS prompt. Please help.
Sorry about the multiple posting! It wasn't intentional, I refreshed the forum page a couple of times to check for replies, but it resubmitted the post... :S