[ create a new paste ] login | about

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

C, pasted on Oct 26:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include <iostream>


typedef unsigned short int USHORT;


int main()
{
	USHORT szerokosc = 5;
	USHORT dlugosc;
	dlugosc = 10;
	USHORT pole = szerokosc * dlugosc;
	cout << "szerokosc" << szerokosc << "\n";
	cout << "dlugosc" << dlugosc << endl;
	cout << "pole" << pole << endl;
	return 0;
}


Output:
1
2
3
4
5
6
Line 19: error: iostream: No such file or directory
In function 'main':
Line 13: error: 'cout' undeclared (first use in this function)
Line 13: error: (Each undeclared identifier is reported only once
Line 13: error: for each function it appears in.)
Line 14: error: 'endl' undeclared (first use in this function)


Create a new paste based on this one


Comments: