In file included from /in/bot.cpp:5:0:
/in/bot.h:59:1: error: new types may not be defined in a return type
enum command{
^~~~
/in/bot.h:59:1: note: (perhaps a semicolon is missing after the definition of 'command')
/in/bot.h:71:26: error: two or more data types in declaration of 'deletespace'
void deletespace(string s);
^
In file included from /in/main.cpp:11:0:
/in/bot.h:59:1: error: new types may not be defined in a return type
enum command{
^~~~
/in/bot.h:59:1: note: (perhaps a semicolon is missing after the definition of 'command')
/in/bot.h:71:26: error: two or more data types in declaration of 'deletespace'
void deletespace(string s);
^
/in/main.cpp: In function 'int main(int, char**)':
/in/main.cpp:282:13: error: 'deletespace' was not declared in this scope
deletespace(keyword);
^~~~~~~~~~~
/in/main.cpp:282:13: note: suggested alternative: 'deletefirstspace'
deletespace(keyword);
^~~~~~~~~~~
deletefirstspace