我的C文件socket.h中這是我的AC代碼:如何包括在Ubuntu
#include <stdio.h>
#include <socket.h>
int main(void)
{
int count[4] = {[2] = 3 }, i;
for (i = 0; i < 4; i++)
printf("count[%d]=%d\n", i, count[i]);
return 0;
}
當我編譯它,它表明:
a.c:2: fatal error: socket.h: No such file or directory
compilation terminated.
那麼,如何包括它/哪裏可以下載?
嘗試'中'。 –
thelaws
2011-05-11 01:39:50