#include <cppcms/application.h>
#include <cppcms/service.h>
#include <cppcms/http_response.h>
#include <cppcms/url_dispatcher.h>
#include <cppcms/url_mapper.h>
#include <cppcms/applications_pool.h>
#include <iostream>
#include <stdlib.h>
public:
    {
        
    }
    {
        int no = atoi(num.c_str());
        response().
out() << 
"The number is " << no << 
"<br/>\n";
     }
    void smile()
    {
    }
    void welcome()
    {
            "<h1> Wellcome To Page with links </h1>\n"
            "<a href='" << 
url(
"/number",1)  << 
"'>1</a><br>\n"             "<a href='" << 
url(
"/number",15) << 
"'>15</a><br>\n"             "<a href='" << 
url(
"/smile") << 
"' >:-)</a><br>\n";
     }
};
int main(
int argc,
char ** argv)
 {
    try {
        app.applications_pool().mount(cppcms::applications_factory<hello>());
        app.run();
    }
    catch(std::exception const &e) {
        std::cerr<<e.what()<<std::endl;
    }
}