home *** CD-ROM | disk | FTP | other *** search
- Path: senator-bedfellow.mit.edu!red-branch!rid
- From: rid@red-branch.MIT.EDU (Shawna Grimm)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: C
- Date: 19 Jan 1996 04:08:40 GMT
- Organization: Massachvsetts Institvte of Technology
- Message-ID: <4dn5g8$ba8@senator-bedfellow.MIT.EDU>
- References: <9601181801.AA0003c@cliffe.demon.co.uk>
- NNTP-Posting-Host: red-branch.mit.edu
- X-Newsreader: TIN [version 1.2 PL2]
-
- Steven Chapman (steve@cliffe.demon.co.uk) typed in the following on Thu, 18 Jan 96 18:01:21 GMT:
-
- : I am trying to get this src to compile and work but i need the output
- : to go to a file in Ram: and not the CON: window that it opens.
-
- : I now that i have too change the file pointer somehow but a can not fine
- : out how.
-
- : Please Help.
-
-
- : **********************
- : ToolType PROG=list C:
- : **********************
-
-
-
-
- : if(!argc) {
- : if(!(fh = Open("CON:10/10/400/400/WBtest",MODE_NEWFILE)))
- : exit(10);
- Try this instead:
- if(!(fh = Open("RAM:output", MODE_NEWFIL)))
-
-
- : --
- : =========================================================
- : | Steven Chapman - steve@cliffe.demon.co.uk (Private ) |
- : | Amiga 4000/030, Workbench 3.1, Kickstart 3, 1 Gig HD |
- : | 4 meg Fast Ram, 2 Meg Chip Ram. |
- : =========================================================
-
- - Lars
-