What am I doing in this terminal?: C Programming
===

here is the source code of the program.


    #include <stdio.h>
    #include <stdlib.h>
    #include <string.h>

    int check_authentication(char *password)
    {
    if(strcmp(password, "brillig") == 0)
     return 1;

    if(strcmp(password, "outgrabe") == 0)
     return 1;

       return 0;
    }

    int main(int argc, char *argv[])
    {
    if(argc < 2)
    {
     printf("Usage: %s <password>\n", argv[0]);
     exit(0);
       }

       if(check_authentication(argv[1]))
       {
      printf("\n-=-=-=-=-=-=-=-=-=-=-=-=-=-\n");
      printf(" Access Granted.\n");
      printf("-=-=-=-=-=-=-=-=-=-=-=-=-=-\n");
        }
          else
         {
       printf("\nAccess Denied.\n");
         }
         return 0;
     }

 What Am I exactly doing to the program in this image?
http://i.imgur.com/7FF9x.png.

 When I try to run this program in windows I can't input anything into it, but in UBUNTU I think I'm inputting something, but I'm not really sure what's going on.

This is what happens if I run it in windows http://i.imgur.com/0X8ZO.png,

 By the way the whole point of the program was to demonstrate a buffer overflow.