Mail Archives: djgpp/2001/04/12/13:42:48
Hi!
Thanks for your reply!
>On Mon, 2 Apr 2001, Mr. Veli Suorsa wrote:
>could look for possible problems.
Problems again!
Some louse hacker send to my Pc virus (or they come with traveller2001AD appendix
files), because Djgpp C / C ++/ F77 compiler don't work correctly anymore.
I can compile this book example, but fstream.h don't write to file anymore:
/* Esimerkki, Kokonaislukujen kirjoittaminen tiedostoon
(esim4307.cpp), 10.04.2001 */
#include <fstream.h>
int main(void)
{
int luvut[6] = {1, 2, 3, 4, 5, 6};
int ind;
int avausliput = ios::binary | ios::noreplace;
ofstream tulos("luvut.dat", avausliput);
if (tulos)
{
for (ind = 0; ind < 6; ind++)
tulos.write((char *)&luvut[ind], sizeof(int));
tulos.close();
}
else
cout<<"Tiedosto oli jo olemassa, talletusta ei tehdä";
return 0;
}
It work fine last week!
Can I use Freepascal with Djgpp? I download it last week, too.
>I don't see anything wrong in your configuration files. I'd advise to
>find out which line in what file gets stuck. You seem to indicate
>that HIMEM never finishes to scan memory; if that is so, try to change
>the HIMEM installation line to say this:
>
> DEVICE=C:\DOS\HIMEM.SYS /TESTMEM:OFF
I use now
DEVICE=C:\DOS\HIMEM.SYS /TESTMEM:ON /V
and it shows me on start memory.
Thanks in advance
Veli Suorsa
---
"People must believe to the future to be able to live!"
---------------------------------- J.V.Snellman, 1890.
Oulu, FINLAND
Mailto:VJSuorsa AT Surfeu DOT Fi
http://members.surfeu.fi/veli.suorsa/
http://www.surfeu.fi
- Raw text -