What does the compile-time error “Undefined symbols for architecture x86_64” mean?
When you compile the file, the compiler invokes the linker which tries to generate an executable. But it cannot because you didn’t provide a function named main which is the function that will be executed when your program is launched. Either you don’t want to run the linker because you want to compile several files … Read more