I did and it still does not compile.



Code:
#include <acknex.h>
#include <default.c>
#include <cmath>

#define PI 3.14159;

double f = 0;

double L = .00000012;
double C = .0000000000020;
/////////////////////////////////////////////////////////////////////

PANEL* panDisplay =
{
	digits(35, 10, "f = %0.f", *, 1,f);

	digits(35, 28, "L = %0.f", *, 1, L);
	digits(35, 38, "C = %0.f", *, 1, C);
	flags = SHOW;
}

/////////////////////////////////////////////////////////////////////

function main()
{
  screen_size.x = 800;
  screen_size.y = 600;
	screen_color.blue = 150; // and make its background dark blue
	while (1)
	{
		f = 1/ 2*PI*sqrt(L*C);
         
         wait (1);
   }
}




I can't find anything wrong with it, it should compile.

Last edited by sadsack; 12/07/10 20:07.

I have A7 Commercial .............. Now I just need to learn how to use it