Hey guys, this is my first full program involving classes, so I'm not sure if I'm way off.
It keeps saying that my 'main' looks like a function definition... am i missing something?
using namespace std;
void Dog::speak(char dogName);
void Cat::speak(char catName);
void Dog::speak(char dogName)
cout<<"\nPlease enter the name of the dog in question: ";
cout<<"The dog "<<dogName<<" says bark bark"<<endl;
void Cat::speak(char catName)
cout<<"\nPlease enter the name of the cat in question: ";
cout<<"The cat "<<catName<<" says meow."<<endl;
cout<<"Would you like to know about a cat or a dog?"<<;
animal == "cat" || "Cat" || "CAT";