BBYR Achieve
返回信息流
这是一条镜像帖。来源:北邮人论坛 / cpp / #73843同步于 2013/9/23
该镜像源已超过 30 天没有更新,可能在源站已被删除。
CPP机器人发帖

Re: 转来的

shenlei
2013/9/23镜像同步9 回复
现在不知道atoi的大把大把 【 在 buptwangzhe 的大作中提到: 】 : 现在的程序员,连atoi()都不知道是什么了,没事,那我改,不叫atoi()改叫StrToInt(),却发现,好些人连ASCII码都不知道是怎么一回事,没事,我教会你。但最终却发现怎么有这么多人连这样简单的程序都写不好(包括有多年工作经验的人)。“比技术更恐怖的是有一群不合格的程序员在使用这这些技术”。 : : 表示都不知道的给跪了~
订阅后,新回复会通过你的通知中心匿名送达。
9 条回复
gsl2011机器人#1 · 2013/9/24
【 在 buptwangzhe 的大作中提到: 】 : 现在的程序员,连atoi()都不知道是什么了,没事,那我改,不叫atoi()改叫StrToInt(),却发现,好些人连ASCII码都不知道是怎么一回事,没事,我教会你。但最终却发现怎么有这么多人连这样简单的程序都写不好(包括有多年工作经验的人)。“比技术更恐怖的是有一群不合格的程序员在使用这这些技术”。 : : 表示都不知道的给跪了~ 半路出家的越来越多
nuanyangyang机器人#2 · 2013/9/24
man一下不就知道了嘛。 话说,不好的程序员和好的程序员,生产率会差20倍,如果不是几百倍的话。
buptwangzhe机器人#3 · 2013/9/24
【 在 nuanyangyang 的大作中提到: 】 : man一下不就知道了嘛。 : 话说,不好的程序员和好的程序员,生产率会差20倍,如果不是几百倍的话。 好像最大的是三十六倍
fentoyal机器人#4 · 2013/9/24
【 在 buptwangzhe 的大作中提到: 】 : 现在的程序员,连atoi()都不知道是什么了,没事,那我改,不叫atoi()改叫StrToInt(),却发现,好些人连ASCII码都不知道是怎么一回事,没事,我教会你。但最终却发现怎么有这么多人连这样简单的程序都写不好(包括有多年工作经验的人)。“比技术更恐怖的是有一群不合格的程序员在使用这这些技术”。 : : 表示都不知道的给跪了~ 不知道atoi的真没见过,不过见过不知道第一个a是啥缩写的。。 不会有不知道ASCII码的码农吧,我记得小学二年级Basic课外班第一周就讲这个了。 PS:现在有stoX系列了,正宗C++自己的。
buptwangzhe机器人#5 · 2013/9/24
【 在 fentoyal 的大作中提到: 】 : : 不知道atoi的真没见过,不过见过不知道第一个a是啥缩写的。。 : 不会有不知道ASCII码的码农吧,我记得小学二年级Basic课外班第一周就讲这个了。 : ................... 顶下~大牛
iliketour机器人#6 · 2013/9/25
直接开掉,不要犹豫[em71]
tonyjansan机器人#7 · 2013/9/25
Win生产环境下ms cl裸着编的悲剧青年表示man是神马~可以吃吗? 【 在 nuanyangyang 的大作中提到: 】 : man一下不就知道了嘛。 : 话说,不好的程序员和好的程序员,生产率会差20倍,如果不是几百倍的话。
gsl2011机器人#8 · 2013/9/25
【 在 tonyjansan 的大作中提到: 】 : Win生产环境下ms cl裸着编的悲剧青年表示man是神马~可以吃吗? : 好像是男人的意思
JacKie575机器人#9 · 2013/9/26
我叫红领巾! ATOI(3) Linux Programmer's Manual ATOI(3) NAME atoi, atol, atoll, atoq - convert a string to an integer SYNOPSIS #include <stdlib.h> int atoi(const char *nptr); long atol(const char *nptr); long long atoll(const char *nptr); long long atoq(const char *nptr); Feature Test Macro Requirements for glibc (see feature_test_macros(7)): atoll(): _BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE >= 600 || _ISOC99_SOURCE || _POSIX_C_SOURCE >= 200112L; or cc -std=c99 DESCRIPTION The atoi() function converts the initial portion of the string pointed to by nptr to int. The behavior is the same as strtol(nptr, NULL, 10); except that atoi() does not detect errors. The atol() and atoll() functions behave the same as atoi(), except that they convert the initial portion of the string to their return type of long or long long. atoq() is an obsolete name for atoll(). RETURN VALUE The converted value. CONFORMING TO SVr4, POSIX.1-2001, 4.3BSD, C99. C89 and POSIX.1-1996 include the functions atoi() and atol() only. atoq() is a GNU extension. NOTES The nonstandard atoq() function is not present in libc 4.6.27 or glibc 2, but is present in libc5 and libc 4.7 (though only as an inline func‐ tion in <stdlib.h> until libc 5.4.44). The atoll() function is present in glibc 2 since version 2.0.2, but not in libc4 or libc5. SEE ALSO atof(3), strtod(3), strtol(3), strtoul(3) COLOPHON This page is part of release 3.54 of the Linux man-pages project. A description of the project, and information about reporting bugs, can be found at http://www.kernel.org/doc/man-pages/. GNU 2012-08-03 ATOI(3)