Author: Dann Corbit
Date: 15:35:27 08/20/02
Go up one level in this thread
On August 20, 2002 at 18:34:29, Dann Corbit wrote: >On August 20, 2002 at 17:12:40, Russell Reagan wrote: > >>On August 20, 2002 at 16:08:47, Daniel Clausen wrote: >> >>>warning: implicit declaration of function `printf' >> >>I get: >> >>warning C4013: 'printf' undefined; assuming extern returning int >> >>And then it compiles and runs fine. > >Purely an accident. According to the ISO C standard, it is perfectly OK for >execution of the program to cause demons to fly out of your nose (an ancient >interpretation from news:comp.std.c). > >The printf() function is varadic (variable number of arguments). If you compile [insert 'using' here] >a varadic function without a prototype in scope, the behavior of the program is >undefined.
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.