help-octave
[Top][All Lists]
Advanced

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

Re: scanf and maximum field width


From: Muthiah Annamalai
Subject: Re: scanf and maximum field width
Date: Thu, 28 Jun 2007 11:42:23 -0500



On 6/28/07, "G. Bürger" <address@hidden> wrote:
I noticed that for

[i1 i2 c] = sscanf("12", "%1i%1i", "C")

However
[i1 i2 c] =sscanf("12","%c%c","C")

works.

Im not sure, what is the expected behavior though.
Here i1, i2 are strings... FYI.


Thanks,
Muthu



reply via email to

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