-
problem on 3.86
hey,
i installed Borland compiler 4.52 on my 3.86 and it work just fine.
Evry code i write goes fine ... but once i want to read a file for data it gets messed up.
Code:
FILE *fl;
fl=fopen("data.txt","r");
if(fl==0){
perror("\n");
+ i doesnt give me the error (which i clrealy asked if the file cant be accesed).
+ output to screen is always different sometimes even the pc speaker starts to make sounds :s
Is this because the 3.86 is too slow??
-
No it's not too slow, i'd say your system is unstable for some other reason. That code would run fine on a 286 even, i'd do some tests on that comp...check how the hdd is functioning first.
-
Hate to say this sry but it was some louzy coding of me that caused these things.... although when i ran the same app on a faster machine it didnt displayed those errors.....
And indeed it could be something Hard disk related.... i had to try 6 times be4 i had borland installed on it. Anyway im going to put all my code on it and see what it does now. (+ ill check my bios settings about the CAS read/write state - pick the highest of all ).
thx anyway for the reply
c ya