When I write even the simplest program where a function
isn't in the same file as void main(), the function behaves
oddly. Observe:
(main.c)
void main()
{
test(3.14);
}
(func.c)
void test(float x)
{
printf("%f", x);
}
This produces a VERY strange result (something like
2412414111790870452845312.00001239864). But when
the function is in the same file as main(), it all
runs nicely.
(For some weird reason, the above function DID
work in a separate file, when I exchanged "float x"
for "double x").
I would appriciate all input.
//Bartek Tatkowski A.K.A. archaos