好好爱自己!

摘要: c语言从函数中返回多个值? 用指针参数来实现。 #include <stdio.h> return_more(int x, int y, int *sum, int *a, int *b); int *return_pointer(int *p, int n); int main() { int x 阅读全文
posted @ 2020-08-16 09:24 立志做一个好的程序员 阅读(328) 评论(0) 推荐(0) 编辑
摘要: fflush stdin 的使用 原文: https://www.cnblogs.com/CheeseIce/p/10630338.htmlc fflush()的作用是用来刷新缓冲区; fflush(stdin)刷新标准输入缓冲区,把输入缓冲区里的东西丢弃;stdin是standard input的 阅读全文
posted @ 2020-08-16 02:05 立志做一个好的程序员 阅读(152) 评论(0) 推荐(0) 编辑
摘要: c语言基础知识网站,多掌握一些库函数, http://www.cplusplus.com/reference/iolibrary/ 参考:https://www.runoob.com/cprogramming/c-function-fflush.html #include <stdio.h> #in 阅读全文
posted @ 2020-08-16 01:48 立志做一个好的程序员 阅读(158) 评论(0) 推荐(0) 编辑
摘要: 原文:https://blog.csdn.net/stpeace/article/details/73612532 为什么linux select函数的第一个参数总应该是fdmax + 1 ? poll和epoll不需要+1 涛歌依旧 2017-06-23 08:28:31 10027 收藏 2 分 阅读全文
posted @ 2020-08-16 01:38 立志做一个好的程序员 阅读(69) 评论(0) 推荐(0) 编辑
摘要: 原文:https://overiq.com/c-programming-101/fread-function-in-c/ fread() Function in C Last updated on July 27, 2020 The fread() function is the complemen 阅读全文
posted @ 2020-08-16 00:15 立志做一个好的程序员 阅读(231) 评论(0) 推荐(0) 编辑

不断学习创作,与自己快乐相处