[ create a new paste ] login | about

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

C, pasted on Jun 20:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#pragma once
#include"Gio.h"
#include "Ngay.h"
struct VeXemPhim 
{
	char MaVe[10], Rap[10], TenPhim[30];
	float GiaBan;
	GIO GioChieu;
	NGAY NgayChieu;
};
typedef struct VeXemPhim VEXEMPHIM;

void NhapVe(VEXEMPHIM &);
void XuatVe(VEXEMPHIM);


Output:
1
2
3
4
5
Line 8: warning: #pragma once in main file
Line 15: error: Gio.h: No such file or directory
Line 17: error: Ngay.h: No such file or directory
Line 8: error: expected specifier-qualifier-list before 'GIO'
Line 13: error: expected ';', ',' or ')' before '&' token


Create a new paste based on this one


Comments: