Article View: de.comp.lang.c++
Article #467Re: MaxonC++light
From: Arno Eigenwillig
Date: Sat, 23 Sep 1995 09:59
Date: Sat, 23 Sep 1995 09:59
27 lines
1566 bytes
1566 bytes
Hallo!
Frank@konnex.bergisch-land.sub.de (Frank Kulok) schrieb am 12.09.1995
in <wVZZZMD0aez2@holly.konnex.bergisch-land.sub.de>:
> ich hab hier ein kleines Problem, solange ich die beiden
> SCANF-Routinen nicht mit einbaue läuft das Programm
> einwandfrei. Baue ich sie mit ein
> steigt der Rechner nach der Eingabe der
> ersten scanf-funktion aus.
> // scanf ("%f", &sz);
> // scanf("%f", &tt);
Was genau heißt "steigt aus"? Mit SAS/C kompiliert und obigen scanf()s
drin läuft das Programm bei mir problemlos. Ein häufiges Problem mit
scanf() ist aber, daß es auf Fehleingaben etc. recht bockig reagiert.
Die Kombination fgets()/sscanf() ist in 99% aller Fälle vorzuziehen.
-- __
__/// Arno Eigenwillig // <arno@yaps.rhein.de> \\ PGP key available
\XX/ V+49-2225-5870 // <ARNO@BIGBEN.dssd.sub.org> \\ <Arnooo @ IRC>
Those who can, do.
Those who can't, teach.
Those who can't teach, teach gym.
Technical Details
Message-ID:
<wY$aVMD1BDaRz1@arno.bigben.dssd.sub.org>Path:
arc1-ca.pugleaf.net!bigben.dssd.sub.org!ARNOReferences:
<wVZZZMD0aez2@holly.konnex.bergisch-land.sub.de>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!bigben.dssd.sub.org!ARNO From: ARNO@bigben.dssd.sub.org (Arno Eigenwillig) Newsgroups: de.comp.lang.c++,fras.text.programmieren Subject: Re: MaxonC++light Date: 23 Sep 95 11:59:17 +0200 Message-ID: <wY$aVMD1BDaRz1@arno.bigben.dssd.sub.org> References: <wVZZZMD0aez2@holly.konnex.bergisch-land.sub.de> Organization: Yet Another Private Site in Meckenheim, Germany X-Mailer: MicroDot 1.10 [REGISTERED 0001bd] X-Gateway: ZCONNECT UH link-gl.dinoco.de [UUCPfZ V5.65 U031] MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-ZC-Telefon: V+49-2225-5870