🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.c++.leda
Article #74

string and cin

#74
From: Michael Bussieck
Date: Fri, 08 Sep 1995 11:26
18 lines
1130 bytes
Hi, I know LEDA can handle strings of large size, but if I try 

string S;
cin >> S;

and the string actually read is larger than 255 Bytes, my program bombs out
with a Segmentation fault. 

(I use LEDA-R-3.2.2 compiled with gcc 2.6.3 (linux) and CC (hpux).)
Michael
--
EOI
-------------------------------------------------------------------------------
Michael Bussieck                       e-mail: M.Bussieck@tu-bs.de
Abteilung Mathematische Optimierung      virtual: on.bussieck@zib-berlin.de 
Technische Universit"at Braunschweig   http://moa.math.nat.tu-bs.de/~bussieck/
Pockelsstra"se 14                      Fax : +49 531 391 7559
D-38106 Braunschweig                   Tel.: +49 531 391 7554
Technical Details
Message-ID: <BUSSIECK.95Sep8132607@moa.math.nat.tu-bs.de>
Path: arc1-ca.pugleaf.net!news.ibr.cs.tu-bs.de!bussieck

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!news.ibr.cs.tu-bs.de!bussieck
From: bussieck@moa.math.nat.tu-bs.de (Michael Bussieck)
Newsgroups: comp.lang.c++.leda
Subject: string and cin
Date: 08 Sep 1995 11:26:07 GMT
Organization: Abteilung fuer Mathematische Optimierung, TU Braunschweig
Distribution: world
Message-ID: <BUSSIECK.95Sep8132607@moa.math.nat.tu-bs.de>
Reply-To: M.Bussieck@tu-bs.de
NNTP-Posting-Host: moa.math.nat.tu-bs.de