1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
#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;
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'