Article View: be.comp.programming
Article #6251waarde counter j
From: Matthias Demuzere
Date: Mon, 16 Dec 2002 18:07
Date: Mon, 16 Dec 2002 18:07
38 lines
1839 bytes
1839 bytes
Hoi,
Ik heb het volgende probleem. Als ik dit stukje programma laat lopen, dan
geeft hij een waarde aan mn j van 4067520 (of toch zoiets in die grootte
orde...) Iemand aan idee waar hij die waarde vandaan haalt???
alvast bedankt
Matthias
-------------------------------------------
int j;
FILE *ifp;
FILE *ofp;
/*reading file*/
ifp = fopen("../gjelbreen","r");
/*reading data from file*/
for (j=1;j<=MAXX;j++)
{
fscanf(ifp,"%lf%lf%lf",&x[j],&hb[j],&s[j]);
printf("%f",hb[j]);
}
exit(0);
--
------------------------------------
Matthias Demuzere
O.L. Vrouwstraat 50
3000 Leuven
Technical Details
Message-ID:
<1040062049.987345@seven.kulnet.kuleuven.ac.be>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!opentransit.net!syros.belnet.be!naxos.belnet.be!news.belnet.be!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: DUTCH,ASCII-7-bit X-Google-Thread: fcea4,c1c700ca0d09a9c0,start X-Google-Attributes: gidfcea4,public X-Google-ArrivalTime: 2002-12-16 10:07:42 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!opentransit.net!syros.belnet.be!naxos.belnet.be!news.belnet.be!not-for-mail From: "Matthias Demuzere" <Matthias.demuzere@student.kuleuven.ac.be> Newsgroups: be.comp.programming Subject: waarde counter j Date: Mon, 16 Dec 2002 19:07:39 +0100 Organization: KULeuvenNet Lines: 40 Message-ID: <1040062049.987345@seven.kulnet.kuleuven.ac.be> NNTP-Posting-Host: seven.kulnet.kuleuven.ac.be X-Trace: naxos.belnet.be 1040062051 19685 134.58.127.12 (16 Dec 2002 18:07:31 GMT) X-Complaints-To: abuse@belnet.be NNTP-Posting-Date: Mon, 16 Dec 2002 18:07:31 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Cache-Post-Path: seven.kulnet.kuleuven.ac.be!unknown@10-67-77-28.kotnet.org X-Cache: nntpcache 2.4.0b5 (see http://www.nntpcache.org/)