1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#include "Gio.h" void NhapGio(GIO &g) { printf("\nNhap gio: "); scanf("%d", &g.Gio); printf("\nNhap phut: "); scanf("%d", &g.Phut); printf("\nNhap giay: "); scanf("%d", &g.Giay); } void XuatGio(GIO g) { printf("%d:%d:%d", g.Gio, g.Phut, g.Giay); }
1 2 3
Line 16: error: Gio.h: No such file or directory Line 3: error: expected ')' before '&' token Line 14: error: expected ')' before 'g'