When I have all the variables and functions relating to the server in the main.c file it is fine. The program compiles and runs.
.
When the variables t , h and index_html[] and functions processor and initWebServer I will move to my own class, then the program stops compiling.
The following errors appear in the method WebServer::init :
.
The code looks as follows:
.
.
.
What am I doing wrong?
Code: C / C++
When the variables t , h and index_html[] and functions processor and initWebServer I will move to my own class, then the program stops compiling.
The following errors appear in the method WebServer::init :
Code: Bash
The code looks as follows:
Code: C / C++
Code: C / C++
Code: C / C++
What am I doing wrong?