I tried to a run a small program from an online tutorial, but web-cpp won't compile it:
#include <cstdio>
int main()
{
int x = 5;
char my_name[] = "Lincoln";
printf("x = %d \n", x);
printf("My name is %s \n", my_name);
return 0;
}
Instead, it prints an error message:
[error] : Error: no main function found
I tried to a run a small program from an online tutorial, but web-cpp won't compile it:
Instead, it prints an error message:
[error] : Error: no main function found