- 博客(3)
- 资源 (4)
- 收藏
- 关注
转载 warning: the 'gets' function is dangerous and should not be used.的解决办法
在Linux下,使用 gets(cmd) 函数报错:warning: the 'gets' function is dangerous and should not be used. 解决办法:采用 fgets(cmd,100,stdin);//100为size 问题解决! fgets从stdin中读字符,直至读到换行符或文件结束,但一次最多读size个字符。读出的字符连同
2012-11-28 10:19:46 3857
转载 undefined reference to 'pthread_create'问题解决
由于是Linux新手,所以现在才开始接触线程编程,照着GUN/Linux编程指南中的一个例子输入编译,结果出现如下错误: undefined reference to 'pthread_create' undefined reference to 'pthread_join' 问题原因: pthread 库不是 Linux 系统默认的库,连接时需要使用静态库 libpthrea
2012-11-19 16:54:22 791
转载 Serial Programming Guide for POSIX Operating Systems
Serial Programming Guide for POSIX Operating Systems 5th Edition Michael R. Sweet Copyright 1994-1999, All Rights Reserved. Table of Contents Introduction Chapter 1, Basics of Se
2012-11-02 16:42:08 1505
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人