#include "math.h" #include <stdio.h>
#pragma section pram_code begin void main (void) { double x = 64.0; printf("The square root of %f is %f.", x, sqrt(x)); }
产生一个错误,
Error : function has no prototype count.c line 46 printf("The square root of %f is %f.\n", x, sqrt(x));
请高手们帮帮忙解答。
错误原因就是我用了sqrt函数. |