First sample program

The firstapp.c sample program is an introductory example that connects to the server, sends a select query, and prints the rows. This example is discussed in Chapter 1, “Getting Started With Client-Library,” in the Open Client Client-Library/C Programmers Guide.