Page 1 of 1
Input Matrix in Pascal
Posted: Sun Nov 23, 2003 7:11 pm
by Tatiana Favaro
How input matriz in Pascal, like in Problem 612? Where a length do the matrix is inputed in first line...

Posted: Sun Nov 23, 2003 7:28 pm
by Dmytro Chernysh
Hi Tatiana,
It's not that difficult -- I can show you how to do that. Mail me.
Posted: Tue Nov 25, 2003 3:39 pm
by Russell John
Dmytro_Chernysh wrote:I can show you how to do that. Mail me.
That sounds fishy!
Why can't you help her out here?
Posted: Wed Nov 26, 2003 12:18 pm
by junjieliang
Haha... how fishy can it get?
A solution would be to ignore the length of each row and just readln as strings.
Or, read until eoln and then readln to clear the eoln character.