1. <iostream.h> doesn't exist on any modern compilers, use <iostream>
2. int throw; isn't legal. throw is a reserved word, you can't make a variable out of it.
3. You declare int throw twice. You can't declare anything twice.
4. You commented out "using namespace std" but didn't prepend std:: to anthing.
5. void main() shouldn't be allowed, main() should return an int
6. trycry; isn't a valid statement, I'm guessing you wanted to try but I have no idea what you wanted to do with cry;
7. After try, do not use a ;
8. A catch statement must have a parameter list. To catch anything, use (...).
9. After catch(...) you may not use a ;
10. Don't define friend functions within a class. They are external to the class (hence the definition of friend). Forward declare them only.
You really need to read your compilation errors. They will tell you everything that I just told you. The fact that you used void main() and <iostream.h> tells me that you are using something along the lines of Dev-C++. If that's the case, switch compilers to something that actually follows a C++ standard.