I have been trying to fix this error for days now. Every time I try to run code in cpp on Mac I get this error message
Undefined symbols for architecture x86_64:
"_main", referenced from:
implicit entry/start for main executable
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I'm thinking it has something to do with either the linker or the clang file, let me know what I need to do to fix this
-- I just fixed this, it was a problem with my settings, thank you.