• #include statements at top tell program to include files before translating it to 1’s and 0’s (compiling)

  • <stdio.h> includes the printf() function

  • Another thing you can define are CONSTANTS

  • Like variables whose values can never be changed



BuckysInfo.h


#define MYNAME "Bucky"
#define AGE 28



main.c


#include <stdio.h>
#include <stdlib.h>
#include "BuckysInfo.h"


int main()
{
   int girlsAge = (AGE / 2) + 7;
   printf("%s can date girls %d years old", MYNAME, girlsAge);

   return 0;
}