source:
testjes/testgci.cpp
@
10
Last change on this file since 10 was 10, checked in by willem, 11 years ago | |
---|---|
File size: 387 bytes |
Line | |
---|---|
1 | #include <stdio.h> |
2 | #include "wutils.h" |
3 | // g++ testgci.cpp -I../trunk ../trunk/libwutils.a |
4 | int main(void) |
5 | { |
6 | int count = 0; |
7 | { |
8 | printf("Content-type: text/html\r\n"); |
9 | printf("\r\n"); |
10 | printf("Hello world!<br>\r\n"); |
11 | printf("REquest number %d.<br>\r\n", count++); |
12 | std::string s = envtostr("QUERY_STRING"); |
13 | printf("query string: %s \n",s.c_str()); |
14 | |
15 | } |
16 | return 0; |
17 | } |
Note: See TracBrowser
for help on using the repository browser.