Well, do you "believe" that data is passed through stdin, or you're exactly 100% certain?
And also, Rubberman, would you please tell me how to capture it?
Considering the fact that I've first explored the net and then picked the pen to weave a thread in forum, I already know that, and I've already used the most common methods of receiving data from cin, such as << and get(), but I know that here's something I don't know, say another member function of cin or something like that, that I don't know and is the key for me to going ahead.
Most of the resources on the net are writing perl programs as CGI and rarely I can find some "useful" page on net to have talked about writing CGI using C++ and thus discussing the most common problems.
I'll keep searching and trying other resources.
But thanks anyway ;-)
Have you tried doing something like this?
using namespace std;
ss << cin.rdbuf();
cout << "Content-type: text/html\\n\\n<html><body>\\n"
<< "Data received:\\n" << ss.str() << "\\n</body></html>\\n";