Wayne E. Van Loon Sr. wrote:
(omissions for brefity)
Fred:
Look at man fopen.
Wayne
Wayne E. Van Loon Sr.
That is the correct answer, but the man pages on the only machine I have
available at the moment, suggested that the answer might also be
different on different OSs
Regards
Fred
I'm trying to write a simple C program to open a text file with
temperature data in it, extract the highest, the lowest, and the
last temperature, and write that information to another text file.
How in C do I verify that the files I'm working with are text files?
Specifically since I don't allow
-Original Message-
From: plug-boun...@lists.pdxlinux.org
[mailto:plug-boun...@lists.pdxlinux.org] On Behalf Of Michael Robinson
Sent: Friday, February 26, 2010 5:19 PM
To: plug@lists.pdxlinux.org
Subject: [PLUG] C question...
I'm trying to write a simple C program to open a text
Michael Robinson wrote:
I'm trying to write a simple C program to open a text file with
temperature data in it, extract the highest, the lowest, and the
last temperature, and write that information to another text file.
How in C do I verify that the files I'm working with are text files?
On Fri, Feb 26, 2010 at 5:19 PM, Michael Robinson
plu...@robinson-west.comwrote:
I'm trying to write a simple C program to open a text file with
temperature data in it, extract the highest, the lowest, and the
last temperature, and write that information to another text file.
How in C do I
On Fri, Feb 26, 2010 at 05:19:24PM -0800, Michael Robinson wrote:
I'm trying to write a simple C program to open a text file with
temperature data in it, extract the highest, the lowest, and the
last temperature, and write that information to another text file.
How in C do I verify that the
Fred James wrote:
Michael Robinson wrote:
I'm trying to write a simple C program to open a text file with
temperature data in it,
FILE *fpin = fopen(inputfilename, r );
extract the highest, the lowest, and the
last temperature, and write that information to another text file.