🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: be.comp.programming
Article #1317

Output naar text file in C

#1317
From: Rik
Date: Mon, 16 May 2005 18:01
9 lines
1700 bytes
hallo....
Ik heb een probleempje, en ik hoop dat iemand mij kan helpen...
Ik wil namelijk de uitvoer van mijn programma (C-taal) op een text file 
wegschrijven. Ik weet dat ik iedere printf apart kan wegschrijven met 
"puts", maar bestaat er geen eenvoudiger manier om het volledige geheel( 
schermuitvoer )  weg te schrijven?
En dan nog een kleintje, hoe kan ik met "puts" een nieuwe regel verkrijgen 
op mijn text file, als ik iets wegschrijf?
Alvast bedankt.... 
Technical Details
Message-ID: <8eSdnR_g9taSfRXfRVnysg@scarlet.biz>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.scarlet.biz!news.scarlet.biz.POSTED!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: fcea4,8e1a5f2fd2eb5556,start
X-Google-Attributes: gidfcea4,public
X-Google-Language: DUTCH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.scarlet.biz!news.scarlet.biz.POSTED!not-for-mail
NNTP-Posting-Date: Mon, 16 May 2005 13:01:51 -0500
From: "Rik" <sospiri@hotmail.be>
Newsgroups: be.comp.programming
Subject: Output naar text file in C
Date: Mon, 16 May 2005 20:01:54 +0200
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
Message-ID: <8eSdnR_g9taSfRXfRVnysg@scarlet.biz>
Lines: 11
NNTP-Posting-Host: 81.11.199.203
X-Trace: sv3-ZXdmD7Tw+4fE2M3fsHVzHUEtLGmhn37UEvean4wpzcuhTzAWxiUhxlntAyWPnRbS2MTl3x5xuXLYvNH!CEOf/xbQ62kSBWw1gKA8voUC8U4+WDQHMU36mofLc7KNTao0NeirZvv9lM2fViOKKYIG77lesEs=
X-Complaints-To: abuse@scarlet.be
X-DMCA-Complaints-To: abuse@scarlet.biz
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.32