摘要: ## strncpy_s() `strncpy_s()` 是 `strncpy()` 的安全版本。 ```c #include #include #include #define MAX_INPUT 1000 void strncpy_test(void) { char buff[MAX_INPUT 阅读全文
posted @ 2023-05-14 17:39 小土坡 阅读(3) 评论(0) 推荐(0)
摘要: 在此记录下 C 语言中关于输入输出相关的函数。 函数列表 printf() puts() put() scanf() getc() putc() gets() getc() & putc() 从指定流获取和输出 char。 char c; c = getc(stdin); putc(c, stdou 阅读全文
posted @ 2023-05-14 16:49 小土坡 阅读(26) 评论(0) 推荐(0)