Error in my first project "Block Letters"

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 :slight_smile:

  • 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 :white_check_mark:
  • 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!

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