Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!rochester!kodak!ektools!randolph From: randolph@ektools.UUCP (Gary L. Randolph) Newsgroups: comp.lang.c Subject: Re: Help with function Keywords: abs(), strtod(), don't work Message-ID: <2388@ektools.UUCP> Date: 11 Jan 90 15:22:24 GMT References: <3198@cbnewsj.ATT.COM> Sender: randolph@ektools (Gary L. Randolph) Reply-To: randolph@ektools.UUCP (Gary L. Randolph) Distribution: na Organization: Eastman Kodak, Dept. 47, Rochester NY Lines: 7 In article <3198@cbnewsj.ATT.COM> veenu@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