Welcome to the Get Help category!
This is where you can ask questions about your code. Some important things to remember when posting in this category
- Learn how to ask a good question and get a good answer!
- Remember to include a link to the exercise you need help with!
- If someone answers your question, please mark their response as a solution
- Once you understand a new concept, come back and try to help someone else!
Link to exercise:
https:
//www.codecademy.com/courses/learn-c-plus-plus/projects/cpp-initials
I am having an error when trying to test my code.
This is the error message:
/usr/lib/gcc/x86_64-linux-gnu/7/β¦/β¦/β¦/x86_64-linux-gnu/crt1.o: In function _start': (.text+0x20): undefined reference to
mainβ
collect2: error: ld returned 1 exit status
When I attempt to execute my code, I receive the above message. I have followed the directions but I cannot seem to execute. Any help is appreciated. Thank you in advance!