From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2981 invoked by alias); 24 Feb 2003 08:00:47 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 2974 invoked from network); 24 Feb 2003 08:00:47 -0000 Received: from unknown (HELO dgap-gw.mipt.ru) (194.85.81.130) by 172.16.49.205 with SMTP; 24 Feb 2003 08:00:47 -0000 Received: from buxus.dgap.mipt.ru (buxus.dgap.mipt.ru [194.85.81.152]) by dgap-gw.mipt.ru (8.11.6/8.11.6) with SMTP id h1O7v7d08861 for ; Mon, 24 Feb 2003 10:57:08 +0300 Date: Mon, 24 Feb 2003 08:00:00 -0000 From: Sergei To: gcc-help@gcc.gnu.org Subject: Re: Segmentation fault Causes Message-Id: <20030224110824.0330309f.asita@hotbox.ru> In-Reply-To: <2B721C6525F0D411B1E900B0D0226BDD02148F82@mohmsg01.ad.infosys.com> References: <2B721C6525F0D411B1E900B0D0226BDD02148F82@mohmsg01.ad.infosys.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-SW-Source: 2003-02/txt/msg00224.txt.bz2 On Mon, 24 Feb 2003 11:06:35 +0530 "Ajay Bansal" wrote: > John > > Can you please tell me how to use this fprintf(stderr... . ) function? > > Do I need to give it at many different places in the code??? If that is > the case, what's is the difference between putting many different > "cerr<<................"??? `fprintf' is from standard C library. `cerr <<' is from C++. You may learn more about fprintf from `man fprintf'. Do #include if you want to use it in your code. Best regards, Sergei