"1234" ==> 1234 (char * ==> int): Inappropriate Postings

Robert Lupton the Good rhl at grendel.Princeton.EDU
Fri Dec 14 02:10:36 AEST 1990


This is one of those questions that any experienced C programmer can answer
before starting to think about it: atoi()or atol(). It is also an obvious
RTFM question, and is discussed in some depth in K&R. Please, in cases
like this DON'T post the answer -- email it if you must reply. 

Some of the posted answers were not really correct, but this doesn't 
invalidate my point, merely adds another: Please don't post answers if
you aren't pretty much of an expert yourself.


				Robert
				



More information about the Comp.std.c mailing list