App won't exit correctly

From: ... (..._at_...)
Date: 03/31/04


Date: Wed, 31 Mar 2004 03:11:27 GMT

First of all I'd like to thank all the people who have helped with my
project thus far.

I've now been able to get my program up and working; however, there is one
last problem I'm having.

When I compile and run the program on a Unix box using g++. The program
doesn't exit correctly. It seems to lock into a prompt with the name of the
application. The program has a "return 0;" at the end of all functions,
including the main. So I'm guessing I need to create some type of loop with
a break. The program only takes a single string input can anyone suggest how
I can create a loop that will correctly break from the program at the end.

Thanks for any help.



Relevant Pages

  • Re: App wont exit correctly
    ... So I'm guessing I need to create some type of loop with ... The program only takes a single string input can anyone suggest how ... > I can create a loop that will correctly break from the program at the end. ...
    (comp.lang.cpp)
  • C to Delphi - tricky FOR statement and pointer questions
    ... I'm guessing this "for loop" always starts with 0, ... where tTrick is a record similar to the struct. ...
    (comp.lang.pascal.delphi.misc)
  • Re: Create a loop that saves and changes data for upcoming steps (Beginner questions)
    ... I want to create a program that calculates different equations that i have with changing parameters, I want to create some kind of loop im guessing. ... And I want to do some other calculations with theese areas, heights and widths for each step but if i get something started im guessing I could make it on my own later.. ...
    (comp.soft-sys.matlab)
  • Re: Treeview control
    ... bearing the following fruit: ... The obvious answer is to loop through your recordset and use ... .Nodes.addbut I'm guessing you wanted more than that? ...
    (microsoft.public.vb.controls)
  • Get Project System Reference List?
    ... I want to be able to loop through a collection (I'm guessing that's ... what it will be in) and parse out the Assembly name for each Reference ...
    (microsoft.public.dotnet.languages.vc)