[ create a new paste ] login | about

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

C++, pasted on Oct 18:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#include<iostream>
#include <conio.h>

using namespace std;
class xyz
{
	static int i;
	public:
		xyz()
		{
			cout<<"\ni== "<<i;
			cout<<"i== \n"<<i++;
		}
};
int xyz::i=20;
int main()
{
xyz c;
return 0;
}


Output:
1
Line 18: error: conio.h: No such file or directory


Create a new paste based on this one


Comments: