www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/12/01/07:40:22

From: "Spike" <spike AT S-DirektNET DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: PLEASE HELP: need file-read routine in DJGPP
Date: 1 Dec 1998 12:37:06 GMT
Organization: Customer of UUNET Deutschland GmbH, Dortmund, Germany
Lines: 12
Message-ID: <01be1d27$5137e420$28ab9bc1@default>
NNTP-Posting-Host: 193.155.171.40
X-Newsreader: Microsoft Internet News 4.70.1160
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hi!!

Please help me:
I need a function, that reads a number from a text-file.
But it also should be able to identify if the number is negativ!!
I wrote such a routine in C++ some time ago, but DJGPP doesn't understand
eof(handle). It only accepts feof(handle) but that's for binary-files!!!

PLEASE help me!!!

THX Spike

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019