Hi I need help finding out what I am doing wrong.
I keep getting errors telling me that "v cannot be used as a function" "Parse error before the first"{"" and "implicit declaration of function `int system(...)' "
What is wrong??
Code:
#include <stdio.h>
#include <iostream.h>
char ve;
char v(ve)
{
cout<< "Please input a Verb: ", cin>>ve;
return (ve);
}
int main(int argc, char *argv[])
{
char verb1, verb2, verb3, verb4;
v(verb1);
v(verb2);
v(verb3);
v(verb4);
cout<< "Here are the verbs you typed: ", verb1, verb2, verb3, verb4;
system("Pause");
return 0;
}
thanx