[Top][All Lists]

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

Re: New line problem?

From: Avinoam
Subject: Re: New line problem?
Date: Fri, 3 Feb 2017 04:43:46 -0800 (PST)

Athanatos wrote
> I'm trying to make a program to extract some information from a text file
> and recreate it in new files.
> I may be doing something very wrong but when writing to a new file with
> fprintf no new lines are created with \n
> I'm uploading the file I want to take data from so that you can recreate
> it
> _carddb.txt
> <>  
> mulligan.m <>  

Another option is to open the file with "t" option:

codes = fopen("codes.txt","wt+");
cards = fopen("cards.txt","wt+");


View this message in context:
Sent from the Octave - General mailing list archive at

reply via email to

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