[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Terminal input with scanf

From: Andreas Weber
Subject: Re: Terminal input with scanf
Date: Fri, 19 Oct 2018 08:46:40 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.0

Please keep the mailinglist in CC

Am 18.10.18 um 19:34 schrieb Saji Kuttan:
Thanks for the suggestion. But a user normally press the Enter key after finishing the input,  not the Control D.

I solved it by using another form of scanf, as

A=scanf("%f", [nc,nr])
A=A' ;

  But in this, the data is stored into a matrix.

But I want to do this with the scanf in the C style.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]