From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2617 invoked by alias); 15 Mar 2008 01:27:14 -0000 Received: (qmail 2609 invoked by uid 22791); 15 Mar 2008 01:27:14 -0000 X-Spam-Check-By: sourceware.org Received: from smtp122.sbc.mail.sp1.yahoo.com (HELO smtp122.sbc.mail.sp1.yahoo.com) (69.147.64.95) by sourceware.org (qpsmtpd/0.31) with SMTP; Sat, 15 Mar 2008 01:26:54 +0000 Received: (qmail 34410 invoked from network); 15 Mar 2008 01:26:53 -0000 Received: from unknown (HELO ?192.168.1.4?) (timothyprince@sbcglobal.net@68.125.167.8 with plain) by smtp122.sbc.mail.sp1.yahoo.com with SMTP; 15 Mar 2008 01:26:52 -0000 X-YMail-OSG: IHua8wsVM1litioo2ROKckXQNIJIawUnX.V8lgTmZn8VNbXhMbJfVb3aTgtebFxv_YCZ9UROWA-- X-Yahoo-Newman-Property: ymail-3 Message-ID: <47DB25D5.3060301@myrealbox.com> Date: Sat, 15 Mar 2008 01:27:00 -0000 From: Tim Prince User-Agent: Thunderbird 2.0.0.9 (X11/20070801) MIME-Version: 1.0 To: Tushar kant CC: gcc-help@gcc.gnu.org Subject: Re: Help regarding input. References: <32ae3bf80803120848u48eb671aub7316c6d60510050@mail.gmail.com> In-Reply-To: <32ae3bf80803120848u48eb671aub7316c6d60510050@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2008-03/txt/msg00144.txt.bz2 Tushar kant wrote: > Hi, i'm Tushar kant....i'm in school and for we have c in our > course...in our books they've mentioned using gets for line input and > getchar for un buffered character input but both don't seen to work > very well with gcc....could you help out as to why is it so and how to > remedy this. Wikipedia might help you get useful answers quicker, in case your books are so deficient. Usual etiquette is to perform preliminary investigations and report how your situation isn't covered by the answers you found.