help-octave
[Top][All Lists]
Advanced

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

Re: help needed: printf(fid,"...


From: tmacchant
Subject: Re: help needed: printf(fid,"...
Date: Sun, 23 Aug 2015 02:13:13 -0700 (PDT)

Fid = fopen(“c:\users\daniel\documents\try_it.txt”)

In double quotes, back slash should be written, \\ but not \.

Fid = fopen(“c:\\users\\daniel\\documents\\try_it.txt”)

It is the same as C.

If you want to write to file but not screen, use fprintf but not printf.  

fprintf(fid, )

Tatsuro




--
View this message in context: 
http://octave.1599824.n4.nabble.com/help-needed-printf-fid-tp4672240p4672241.html
Sent from the Octave - General mailing list archive at Nabble.com.



reply via email to

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