Hello Haden -- I don't quite know how to answer, since the behavior you want is exactly what C++ is defined to do. Could you give an example? Is this your first program in C++? or are you talking about something more advanced like exception handling that returns control to main from an exception point? --le ----- Original Message ----- From: Haden Pike To: programmingblind@xxxxxxxxxxxxx Sent: Friday, May 15, 2009 10:39 PM Subject: c++ question Hi all. I am trying to write a consul application in c++. My problem is that once it executes a function, I want it to return to the main function in this case int main. I am not sure how to accomplish this or maybe I am, it's just evading me for now. *smile* Anyway, thanks in advance for any help. Haden