Article View: comp.sys.amiga.tech
Article #4771Re: Excruciatingly simple programming question...
From: John Melvin
Date: Tue, 07 Aug 1990 23:41
Date: Tue, 07 Aug 1990 23:41
25 lines
1634 bytes
1634 bytes
In article <115524@linus.mitre.org>, duncant@mbunix.mitre.org (Thomson) writes:
> Oops, I just realized that in my last posting on this subject, I
> forgot that |Read() and Write() are not stdio functions, but amiga
> functions. But the same argument follows if the file which
> contained prototypes for Read() and Write() had been included.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
I didn't catch you first post, but I'll assume you are playing
with version 3.6. This version defaults to 16-bit ints (a
very common source of problems) and doesn't have prototyping.
Aztec C 5.0x has all the ANSI stuff, prototypes, and a default
of 32-bit ints so problems are resolved. Oh, BTW, the Manx
file you want is "functions.h".
>
>
> Duncan Thomson
>
> --
> (Please excuse the typos and garbage caused by line noise.)
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
John P. Melvin "Magic is real -- unless declared integer."
//
UUCP: {harvard|rutgers|ucbvax}!uwvax!astroatc!nicmad!madnix!jmelv \X/ AMIGA
Technical Details
Message-ID:
<1463@madnix.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!uwvax!astroatc!nicmad!madnix!jmelvReferences:
<2667@mindlink.UUCP> <115524@linus.mitre.org>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!uwvax!astroatc!nicmad!madnix!jmelv From: jmelv@madnix.UUCP (John Melvin) Newsgroups: comp.sys.amiga.tech Subject: Re: Excruciatingly simple programming question... Summary: Manx 3.6 doesn't have prototypes Message-ID: <1463@madnix.UUCP> Date: 7 Aug 90 23:41:10 GMT References: <2667@mindlink.UUCP> <115524@linus.mitre.org> Organization: MADNIX, operated by: ARP Software Madison WI Lines: 25