Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 4: C Basics: Functions > C Is Case Sensitive

C Is Case Sensitive

Many different types of errors are possible in C programming. One of the most common results from the fact that C is a case-sensitive language. In a case-sensitive language, there is a big difference between lowercase and uppercase letters, which means you can't refer to printf() as Printf() or even PRINTF().

Figure 4-12 shows the warning message you'll get if you change your call of printf() to PRINTF(). Basically, this message is telling you that Xcode couldn't find a function named PRINTF() and was unable to link the program. In this case, the compiler did its job, but since no PRINTF() function could be found, the build ultimately failed. To fix this problem, just change PRINTF() back to printf() and rebuild.

image

  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free 10-Day Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint