[ create a new paste ] login | about

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

kamarakay2000 - C++, pasted on Apr 18:
1
2
3
4
5
6
7
8
9
#include<iostream>
int AddTwo(int i);
int main(){
int i(4);
int j(AddTwo(i));
AddTwo(j);
j = AddTwo(j);
return 0;
}


Output:
1
2
3
4
In function `main':
undefined reference to `AddTwo(int)'
undefined reference to `AddTwo(int)'
undefined reference to `AddTwo(int)'


Create a new paste based on this one


Comments: