摘要:
putchar 把参数 char 指定的字符(一个无符号字符)写入到标准输出 stdout 中。 返回值:该函数以无符号 char 强制转换为 int 的形式返回写入的字符,如果发生错误则返回 EOF。 int putchar(int char) #include <stdio.h> int mai 阅读全文
posted @ 2022-04-29 17:10
starc的miao
阅读(52)
评论(0)
推荐(0)
摘要:
read 代码习惯 常见错误码 #include <stdio.h> #include <fcntl.h> // open #include <stdlib.h> // exit #include <unistd.h> // close\read // #include <sys/types.h> 阅读全文
posted @ 2022-04-29 16:43
starc的miao
阅读(39)
评论(0)
推荐(0)
摘要:
gprof https://juejin.cn/post/7008524610161344520 使用方法 1. 使用 -pg 编译和链接你的应用程序。 2. 执行你的应用程序使之生成供gprof 分析的数据。 3. 使用gprof 程序分析你的应用程序生成的数据。 $gprof -b a.out 阅读全文
posted @ 2022-04-29 16:30
starc的miao
阅读(70)
评论(0)
推荐(0)
摘要:
/* Copyright (C) 1991-2020 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistri 阅读全文
posted @ 2022-04-29 15:57
starc的miao
阅读(409)
评论(0)
推荐(0)
摘要:
/* Define ISO C stdio on top of C++ iostreams. Copyright (C) 1991-2020 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU 阅读全文
posted @ 2022-04-29 15:57
starc的miao
阅读(255)
评论(0)
推荐(0)
摘要:
/* Copyright (C) 1991-2020 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistri 阅读全文
posted @ 2022-04-29 15:50
starc的miao
阅读(209)
评论(0)
推荐(0)
摘要:
/* Copyright (C) 1991-2020 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistri 阅读全文
posted @ 2022-04-29 15:48
starc的miao
阅读(541)
评论(0)
推荐(0)

浙公网安备 33010602011771号