Linker Error File

Question:
This is probably with replit, because everyone seems to be posting about this, and there are no errors on my actual computer, but I keep on getting this error, and there are no squiggly lines in the code editor. Replit keeps on saying a linker file error. thanks to all who help.
Repl link:
https://replit.com/@RayanBmk/C-But-I-tried-to-make-it-simpler

clang-12: error: linker command failed with exit code 1 (use -v to see invocation 
make *** [Makefile:10: main] Error 1 
exit status 2

Rename PlerC++.cpp to PlerC++.h. Never include cpp (or cc) files. cpp files are treated as parts of the main program that don’t need to be included.

5 Likes

Thank you! This worked

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.