Finishing up the getFirstName function

In this lesson:
  • Compiling, debugging and running the code
Running time: 05:15
 
 

Comments (2)

 

i have figured out my problem sorry if i inconvienced you

Finally we are to the point of compiling and running our first function.

Notice when debugging: Always examine and resolve the FIRST error in the list of compilation failures. Oftentimes fixing the first error will resolve several other errors that follow.

Also look slightly ABOVE where the first error occurs; for example when I got the first error, 'int not expected here', the error was actually that I was missing a closing curly brace just above that section.