[ create a new paste ] login | about

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

C, pasted on Jan 9:
#include<iostream>
using namespace std;
struct Phong
{
	char MaPhong[5];
	char TenPhong[30];
	float DonGiaThue;
	int SoLuongGiuong;
	bool TinhTrangGiuong;
};
typedef struct Phong PHONG;

struct Node
{
	PHONG data;
	struct Node *pNext;
};
typedef struct Node NODE;

struct List
{
	NODE *pHead, *pTail;
};
typedef struct List LIST;


Output:
1
2
3
Line 18: error: iostream: No such file or directory
Line 2: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'namespace'
Line 9: error: expected specifier-qualifier-list before 'bool'


Create a new paste based on this one


Comments: