Deutsch   English   Français   Italiano  
<v5f17u$1l548$2@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Lew Pitcher <lew.pitcher@digitalfreehold.ca>
Newsgroups: comp.lang.c
Subject: Re: Whaddaya think?
Date: Tue, 25 Jun 2024 18:11:10 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 18
Message-ID: <v5f17u$1l548$2@dont-email.me>
References: <666ded36$0$958$882e4bbb@reader.netnews.com>
	<v4n1nf$2fae$1@dont-email.me> <v5ev8k$1l548$1@dont-email.me>
	<667b07d3$0$2873017$882e4bbb@reader.netnews.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 25 Jun 2024 20:11:10 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="378c0296351914fa8a558aaf0b11785d";
	logging-data="1741960"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX181IECBwUGS3NH2A3S1zYfj4CiEGjBBGJk="
User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508
 git://git.gnome.org/pan2)
Cancel-Lock: sha1:KfHvxLSShkt1cdH6zNp4IrXKFtU=
Bytes: 1451

On Tue, 25 Jun 2024 14:09:23 -0400, DFS wrote:

> On 6/25/2024 1:37 PM, Lew Pitcher wrote:
[snip]
> 
> $ gcc -Wall LewPitcher_readnums.c -o lprn
> $ (no compile errors)
> $ ./lprn nums.txt
> Example of array loading using malloc() and fread()

The program (both versions) take input from stdin.
Try
  ./lprn <nums.txt


-- 
Lew Pitcher
"In Skills We Trust"