Results 1 to 3 of 3

Thread: Memory problem!!! URGENT~!

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Aug 2002
    Location
    Singapore
    Posts
    254

    Memory problem!!! URGENT~!

    Hey guys, need some help here theres no errors and warning but when i run the program and in the customerinfomain i get a memory allocation error everytime i try to do a enquiry....... i got a function in that call handphoneinfomain that have the SAME logic as it and it does not have any problem....... could anyone help URGENT
    Attached Files Attached Files

  2. #2
    Hyperactive Member
    Join Date
    Sep 2001
    Posts
    396
    In Line 466, you forgot to initialise the o variable to zero

    Code:
    for(int o;o<Custinfomain::custlist;o++)
    {
        cust_details[o].Enquirecustinfo(Nric);
    }

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Aug 2002
    Location
    Singapore
    Posts
    254
    Hey thanx bro... i did it

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width