Article View: be.comp.programming
Article #2306Re: [C++] fwrite + segmentation fault
From: Lorenzo Dieryckx
Date: Thu, 15 Jul 2004 21:39
Date: Thu, 15 Jul 2004 21:39
27 lines
1753 bytes
1753 bytes
On Thu, 15 Jul 2004 21:22:24 GMT, Lorenzo Dieryckx <dit.is.geen.email@adres.be> wrote: > if (binary_mode) > fopen(uri.c_str(), "wb"); > else > fopen(uri.c_str(), "w"); Dit moet natuurlijk zijn: if (binary_mode) _file = fopen(uri.c_str(), "wb"); else _file = fopen(uri.c_str(), "w"); How could I ever be so stupid. Ik denk dat ik gedronken moet hebben op de avond dat ik FileByteDestination programmeerde :-S Sorry hoor... -- Lorenzo Dieryckx mail: lorenzopuntdieryckxatpandorapuntbe Laatste coole gehoorde uitspraak: "Ik wil niet dat hij in die andere bureau zit. Voor ��n reden.... Hij zal be�nvloed worden... door... euhm... THE DARK SIDE!" - by sdr
Technical Details
Message-ID:
<daudf0ttpi2ii9j2m7jbm7keil32s1m5ti@4ax.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!fr.ip.ndsoftware.net!skynet.be!skynet.be!ossa.telenet-ops.be!phobos.telenet-ops.be.POSTED!not-for-mailReferences:
<6euaf0th4h3ctr13l2lk2se4lmbu39ueu6@4ax.com> <wfzJc.186138$XZ1.8812637@phobos.telenet-ops.be> <n3tdf018psossgbcc1ohrcgo8kbk3kastb@4ax.com>Show Full Headers
Complete Article Headers
X-Google-Thread: fcea4,33ec3f0617e4db5 X-Google-Attributes: gidfcea4,public X-Google-Language: DUTCH,ASCII Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!fr.ip.ndsoftware.net!skynet.be!skynet.be!ossa.telenet-ops.be!phobos.telenet-ops.be.POSTED!not-for-mail From: Lorenzo Dieryckx <dit.is.geen.email@adres.be> Newsgroups: be.comp.programming Subject: Re: [C++] fwrite + segmentation fault Message-ID: <daudf0ttpi2ii9j2m7jbm7keil32s1m5ti@4ax.com> References: <6euaf0th4h3ctr13l2lk2se4lmbu39ueu6@4ax.com> <wfzJc.186138$XZ1.8812637@phobos.telenet-ops.be> <n3tdf018psossgbcc1ohrcgo8kbk3kastb@4ax.com> X-Newsreader: Forte Free Agent 2.0/32.652 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Lines: 27 Date: Thu, 15 Jul 2004 21:39:31 GMT NNTP-Posting-Host: 213.224.115.52 X-Complaints-To: abuse@telenet.be X-Trace: phobos.telenet-ops.be 1089927571 213.224.115.52 (Thu, 15 Jul 2004 23:39:31 MEST) NNTP-Posting-Date: Thu, 15 Jul 2004 23:39:31 MEST Organization: Telenet Internet