Talk:Atoi
ato*
articles?
[edit]Why is it that ato*
(atoi
and atof
) have their own articles? They hold no more importance than other string-to number conversion functions. If atoi
has it's own article, then why does CInt
or any other string-to-integer function not have its own article? This, in my opinion is favoritism. I don't care about giving or not giving CInt
it's own article, just that C is getting preferential treatment here. --208.138.31.76 (talk) 16:44, 22 January 2008 (UTC)
You have five days to respond —Preceding unsigned comment added by 208.138.31.76 (talk) 19:45, 22 January 2008 (UTC)
Although I won't object to the removal of a rather stub-like article, I do wish to note that these articles where written by people who know a fair bit of C. It is however unreasonable to expect then that this group will know about other languages with their respective string-to-number functions. By that definition, it excludes favoritism as any viable argument since it would indicate an intent from the editors of sorts. While I do disagree on this specific point, I will agree on the actual removal of the article. Perhaps an article about string-to-number functions in general should be written to include this, and many more, language specific examples. —Preceding unsigned comment added by Crashmatrix (talk • contribs) 22:37, 22 January 2008 (UTC)
They should have their own articles so people can easily search for them. This page needs to be expanded to include common code for the function of ATOI. Many people, such as myself, programming microcontrollers who do not want to call header functions would rather look up the code and add it then have to rewrite it.
Having the atio funciton code would also be a good teaching tool. —Preceding unsigned comment added by 74.94.166.154 (talk) 14:33, 13 March 2008 (UTC)
I'm a second year CS student and I ended up here because I was reading K&R and, though I understood most of what was being discussed in the book, I couldn't tell what this function atio was for. That is, sort and concatenate functions have a transparent purpose, while atio was more cryptic as to its use/purpose. I eventually just typed in and compiled the code, which is probably what I should have done in the first place.
I understand now that it is for extracting numbers from text. I agree that there should be a general article on why and how one might want to extract numbers from text. Functions like atio and the ones from other languages could re-direct there. —Preceding unsigned comment added by 71.215.149.41 (talk) 17:47, 1 October 2009 (UTC)