W pliku event.h mam nagłówek konstruktora i destruktora chciałem go wywołać w event.cpp a tu coś takiego:
Undefined symbols for architecture x86_64:
"Event::show()", referenced from:
_main in main.cpp.o
"Event::Event(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, int, int, int, int, int)", referenced from:
_main in main.cpp.o
"Event::~Event()", referenced from:
_main in main.cpp.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
W kodzie nie ma błędów ponieważ jest on z kursu Zelenta.