Can somebody explain the point of the compiler's message:"variable or field `a' declared void "?
I'm not alone. If you put this message without `a' into the google's browser, you will get 10 100 000 results.
I'm beyond the first steps in c++. At least, I thought so far. I must admit that I don't understand the datatype void at all.
Here's a simply, short code which doesn't work due to use of datatype void:
using namespace std;
void a, b;
cout<<"a = ";cin>>a; cout<<"\n\tb = ";cin>>b;
To be exact, yet the compilation was failed.