#include #include #include #define VALUE_PI 3.14592 #define CHAR_PER_LINE 80 int main(int argc, char* argv[]) { int sample_count = 360, sample_bits = 8; int sample_peak, loop, test, cols; char *pcheck, bufftext[64]; double temp; if(argc>1) { for(loop=1;loop0.5) test++; sprintf(bufftext,"%d",test); if(loopCHAR_PER_LINE) { printf("\n"); cols = strlen(bufftext); } printf("%s",bufftext); } printf("\n};\n"); return 0; }