🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

string_item/read_int problems

#52
From: Helen Pinto
Date: Tue, 22 Aug 1995 19:00
19 lines
1213 bytes
1a)	P.string_item(string s,string& x);

When running a program containing the above command, only certain letters can be entered ("b","f","g","j","k","m","q","v","w","z") in string x; the rest simply will not appear when typed.

1b)	W.read_int(string);

Similarly, this command only accepts digits 5 to 9.

Have you experienced this problem?  Is it possible this error occurred in downloading LEDA?

2)

Deleting a segment drawn in a LEDA window requires redrawing it EXACTLY, right?  This is proving frustratingly difficult to do!  What sort of commands could inadvertently cause parameters to change?  For example, does setting a different line_width in a different window, affect?

Is there a foolproof method of ensuring redrawing does in fact delete? (Note: W.clear() is not a workable solution when implementing a "drag".)


Helen.
(pinto@cs.uleth.ca)
Technical Details
Message-ID: <41d9h0$it@holly.cc.uleth.ca>
Path: arc1-ca.pugleaf.net!holly.cc.uleth.ca!pinto

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!holly.cc.uleth.ca!pinto
From: pinto@cs.uleth.ca (Helen Pinto)
Newsgroups: comp.lang.c++.leda
Subject: string_item/read_int problems
Date: 22 Aug 1995 19:00:48 GMT
Organization: Unversity of Lethbridge
Message-ID: <41d9h0$it@holly.cc.uleth.ca>
NNTP-Posting-Host: trex.cs.uleth.ca
X-Newsreader: NN version 6.5.0 #8 (NOV)