x = a;
y = b;
cout << "\nThe result of sum " << x+y<<"\n";
}
ebd::out()
{
cout << "Enter The num\n";
cin >> x >> y;
int z;
z = x+y;
cout << "\nThe sum = " << z;
}
/////////////////////////////// int main()////////////////////////////////////////
What the compiler is telling you is: "I can't find the file you asked me to include, can you help me find it?" Okay, maybe not directly but the point is you have to make sure the header and the source are in the same directory(that's when you can use "header.h"), otherwise, you would have to give it the absolute/relative path to the header(something like #include "../include/path/to/header.h").
That aside, in your implementation of ebp::out, you forgot to specify the return type -- which obviously would result in an error.
Just some advice, "using namespace std;" would be more appropriately placed in the ebd.cpp file. For your personal code, it couldn't matter less. If you release this in a library that people use...it could cause problems.
Edit: I realize that putting that line inside the edb.cpp file would force you to write it again in whatever file contains main(), but like I said before, it could save someone else using your code some headaches. For example, they couldn't use names like left, hex, and count anymore.