From: Hans-Bernhard Broeker Newsgroups: comp.os.msdos.djgpp Subject: Re: cprintf did not work Date: 9 May 2001 15:50:43 GMT Organization: Aachen University of Technology (RWTH) Lines: 21 Message-ID: <9dbp0j$3su$1@nets3.rz.RWTH-Aachen.DE> References: <3AF96492 DOT A518D019 AT sci DOT kun DOT nl> NNTP-Posting-Host: acp3bf.physik.rwth-aachen.de X-Trace: nets3.rz.RWTH-Aachen.DE 989423443 3998 137.226.32.75 (9 May 2001 15:50:43 GMT) X-Complaints-To: abuse AT rwth-aachen DOT de NNTP-Posting-Date: 9 May 2001 15:50:43 GMT Originator: broeker@ To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Michiel de Bondt wrote: > Hello, > I used cprintf in a constructor of a global object, but that did not > work properly. Please tro be more specific. As rule of thumb, tell us what _did_ happen, instead of what didn't. I.e.: did the program crash on you, or did the screen output look funny, or what else? > But maybe, I am not allowed to use cprintf before calling main. I don't think that can be the reason --- there's no pre-main() type code in the conio implementation which could rely on it being called before the first call of cprintf() is allowed to happen. -- Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de) Even if all the snow were burnt, ashes would remain.