关于C头文件的问题!#include stdio.h#include simpio.h /*这个头文件在vc里面有吗?*/#include genlib
关于C头文件的问题!
#include <stdio.h>
#include "simpio.h " /* 这个头文件在vc里面有吗?*/
#include "genlib.h " /* 这个头文件在vc里面有吗?*/
int main(void){
double n1,n2,average;
printf( "the 1st number: ");
n1=GetReal(); /* 这个用法在vc里面不可用吗?*/
printf( "the 2nd number: ");
n2=GetReal(); /*这个用法在vc里面不可用吗?*/
average=(n1+n2)/2;
printf( "the average number is %g\n ",average);
return 0;
}
我在看Eric S.Roberts的 "Programming Abstraction in C " 好像需要那些头文件之类的,谁能帮我看看!
谢谢!
[解决办法]
C++里面没有GetReal()这个函数呀
