Thread: problem on 3.86

  1. #1
    and the Hat of Clumsiness GanglyLamb's Avatar
    Join Date
    Oct 2002
    Location
    between photons and phonons
    Posts
    1,110

    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??

  2. #2
    PC Fixer-Upper Waldo2k2's Avatar
    Join Date
    May 2002
    Posts
    2,001
    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.
    PHP and XML
    Let's talk about SAX

  3. #3
    and the Hat of Clumsiness GanglyLamb's Avatar
    Join Date
    Oct 2002
    Location
    between photons and phonons
    Posts
    1,110
    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

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Need help understanding a problem
    By dnguyen1022 in forum C++ Programming
    Replies: 2
    Last Post: 04-29-2009, 04:21 PM
  2. Memory problem with Borland C 3.1
    By AZ1699 in forum C Programming
    Replies: 16
    Last Post: 11-16-2007, 11:22 AM
  3. Someone having same problem with Code Block?
    By ofayto in forum C++ Programming
    Replies: 1
    Last Post: 07-12-2007, 08:38 AM
  4. A question related to strcmp
    By meili100 in forum C++ Programming
    Replies: 6
    Last Post: 07-07-2007, 02:51 PM
  5. WS_POPUP, continuation of old problem
    By blurrymadness in forum Windows Programming
    Replies: 1
    Last Post: 04-20-2007, 06:54 PM