Hi,
I am trying to create a log table to use with a uC.
My program is below. It works for tables up to about 300 lines.
If I increase it, I lose the top lines in the table in the CMD window
How can I make it so it will do 4096 lines.
Also what would be the best way to output it in a .txt file?
Thanks
Code:#include <math.h> #include <stdio.h> int main( void ) { int i=1; double x = 1.0, y = 1.0067, z; z= (x*y); printf("%d %1f \n",i,x); i++; while (i<=100) { printf("%d %1f \n",i,z); z= (z*y); i++;} return 0; }