-1

"undefined reference to 'func~'" error..

I'm new to that program, so I can't figure out the reason for the error.

enter image description here

JSolo
  • 3
  • 1
  • How are you calling gcc? And also post the error as text into the question rather than linking to an image – Chris Turner Dec 06 '21 at 16:37
  • 1
    Don't paste screenshots if you can also put the text directly into your posting. Also, you ask about how to fix an error, without showing the code which causes the error to appear. – user1934428 Dec 07 '21 at 07:30

1 Answers1

-2

You need to add #include <stdlib.h>

complikator
  • 235
  • 2
  • 8