Argument error missing =

Is there a way to write this specific argument error? For example: a bad argument will be missing "=" and has nothing after it (example of the argument is -findchar= or -findword=

How would I write that code?

I just started using c++. any help will be truly appreciated it.

 
why are you trying to trigger errors?

int main()
{
int x = ;
return 0;
}
Topic archived. No new replies allowed.