diff Histogram.c @ 4:83a412f2ef98

Added stdio.h and copy-paste error on FreeDblHist to FreeFloatHist
author Me
date Tue, 02 Nov 2010 16:47:21 -0700
parents 3d35477a5121
children a2388fae93ff
line diff
     1.1 --- a/Histogram.c	Sun Oct 31 20:22:29 2010 -0700
     1.2 +++ b/Histogram.c	Tue Nov 02 16:47:21 2010 -0700
     1.3 @@ -5,7 +5,7 @@
     1.4   * Author: seanhalle@yahoo.com
     1.5   *
     1.6   */
     1.7 -
     1.8 +#include <stdio.h>
     1.9  #include "Histogram.h"
    1.10  
    1.11  
    1.12 @@ -74,7 +74,7 @@
    1.13      }
    1.14     barValue = maxHeight / 60;  //60 spaces across page for tallest bin
    1.15  
    1.16 -   printf("histogram: \n");
    1.17 +   printf( "histogram: \n" );
    1.18     if( barValue == 0 ) printf("error printing histogram\n");
    1.19     for( binIdx = 0; binIdx < hist->numBins; binIdx++ )
    1.20      {