|
Which program are you having problems with? The one you posted or the one you modified? You display a program using C IO, then talk about how you modified it to run with C++ IO.
If your compiler is acting screwy and a reinstall doesn't help, my only suggest is you have virus/trojan/backdoor/etc. on your machine and it is randomy hosing things. I have used DevC and been happy with it (though prefer using VC for most all C/C++ development).
__________________
Free code: http://sol-biotech.com/code/.
It is not that old programmers are any smarter or code better, it is just that they have made the same stupid mistake so many times that it is second nature to fix it.
--Mitakeet
The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore, all progress depends on the unreasonable man.
--George Bernard Shaw
|