2018年5月22日

《UNIX网络编程 卷1 套接字联网API》(第三版)阅读笔记----2018.5.22

摘要: -bash: ./configure: Permission denied 执行时前面加上bash: bash ./configure 按照README进行环境搭建,可能会碰到以下错误: 编译libfree: 解决办法:打开inet_ntop.c,更改第60行size_t为socklen_t 编译到 阅读全文

posted @ 2018-05-22 15:15 MrRS 阅读(305) 评论(0) 推荐(0) 编辑

C/C++

摘要: 下列程序输出:67 解析: 解法1: f(n)=0, cnt自加一次,f(n)=1, cnt自加一次,即: n=0 cnt = 1; n=1 cnt = 1; n=2 cnt = f(1) + f(0) = 1+1+1 = 3; n=3 cnt = f(2) + f(1) = 3+1+1 = 5; 阅读全文

posted @ 2018-05-22 12:23 MrRS 阅读(358) 评论(0) 推荐(0) 编辑

导航