Thread: Program stops executing

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User
    Join Date
    Aug 2007
    Posts
    18

    Program stops executing

    Code:
    // new code down below

    Hope the above isnt too much code to put here, but after I try to exit the loop early and return the structure in the getData function, the program just stalls. Can somebody please point me in the right direction.

    p.s is the way im deleting p the right way to delete the allocated array?
    Last edited by bargomer; 04-25-2008 at 06:26 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Issue with program that's calling a function and has a loop
    By tigerfansince84 in forum C++ Programming
    Replies: 9
    Last Post: 11-12-2008, 01:38 PM
  2. Problem executing C program in Visual C++ 6.0
    By ladyscarlet99 in forum C++ Programming
    Replies: 2
    Last Post: 10-10-2005, 05:48 AM
  3. Dikumud
    By maxorator in forum C++ Programming
    Replies: 1
    Last Post: 10-01-2005, 06:39 AM
  4. Date program starts DOS's date
    By jrahhali in forum C++ Programming
    Replies: 1
    Last Post: 11-24-2003, 05:23 PM
  5. fopen();
    By GanglyLamb in forum C Programming
    Replies: 8
    Last Post: 11-03-2002, 12:39 PM