Help with function

Gary L. Randolph randolph at ektools.UUCP
Fri Jan 12 02:22:24 AEST 1990


In article <3198 at cbnewsj.ATT.COM> veenu at cbnewsj.ATT.COM (veenu.r.rashid) writes:
>main(int argc, char *argv[])
>	temp = strtod(argv[1]);		/* get the argument as a double	*/
		^^^^^^^^^^^^^
     TRY temp = strtod(argv[1],NULL);  /*ANSI definition takes 2 args*/

Gary



More information about the Comp.lang.c mailing list