Library to generate html pages on cgi servers.
Cwi is a library that encompasses abstractions for C++ of the main HTML tags. This makes it possible to create dynamic pages written entirely in C++. The tool takes advantage of a technology known as cgi, which allows a program running on a server with this characteristic to generate an HTML page as console output that will be processed by the server itself!
- For the library to work correctly you must make sure that the program runs on a server that supports the cgi feature, and that it is correctly configured. You can follow the instructions in the tutorials below if you need help:
- Download the header files and pre-compiled library below.
- Include the Capybara.hpp file to be able to use all available fields.
#include "**/CWI/Capybara.hpp"
- To compile the written code, use "-lCwI -L (folder location /Capybara) -I (folder location /CWI)"
g++ main.cpp -lCwI -L (location /Capybara) -I (location /CWI)
- Upload the code to the server in the folder for cgi files.
- Access the executable through your preferred browser, and see the power of the capybara!!! Lol
If your code needs any special permissions to work, remember to configure the server folder configured for the cgi, to have these permissions.
- (shortly...)
