[ad_1]
The problem is in the definition of your main function. You need to add a parameter list. Either of these are valid:
int main() { .... }
int main(int argc, char** argv) { ... }
[ad_2]
solved ‘No suitable conversion function’ with cout [closed]