The compiler used for this code is ancient ,I am using turbo c++ 3.0(school requirements can't be helped) to run the code but there are some compiler errors
the errors displayed:
line 4:Declaration syntax error
line 9:Declaration syntax error
the header file:
and its functions are defined in a cpp file//in case you wanted to know, its //not made efficient yet
it starts of like this
#include"emoji.h"
//only the functions are defined couldn't post as it was too long. No syntax //errors are present here
I don't know how to fix it
yes the private constructor was intentional why?
Our textbook says that stand alone const is const int type atleast that's what tc++ 3.0 compiler does in other situations
as for the forward declaration i was experimenting
i thought i could use the header files in the header file so that i don't have to declare it later in the cpp file