[ create a new paste ] login | about

Link: http://codepad.org/LWlFPjni    [ raw code | output | fork ]

C++, pasted on Nov 2:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include "deneme.h"
using namespace std;

int main(){
try{
Course* c1 = new Course(223,"Osman Ahmet") ;
Offering* o1_1 = new  Offering(c1);
o1_1->vektor2();

//cout<< *o1_1;
}

catch(int e)
{cout<<"hatatatata"<<e;}
return 0;
}


Output:
1
2
3
4
Line 19: error: deneme.h: No such file or directory
In function 'int main()':
Line 6: error: 'Course' was not declared in this scope
compilation terminated due to -Wfatal-errors.


Create a new paste based on this one


Comments: