If there're three files, let's say main.cpp, a.h and b.h. main.cpp includes a.h and a.h includes b.h, but main.cpp does not include b.h directly. class b is declared in b.h.
May I ask if we can use class b in main.cpp directly right now?
If there're three files, let's say main.cpp, a.h and b.h. main.cpp includes a.h and a.h includes b.h, but main.cpp does not include b.h directly. class b is declared in b.h.
May I ask if we can use class b in main.cpp directly right now?