   I don't like the way functions work
  I''m using VS 6.0 C++.My problem://///////////FUNCTION 1do somethingdo stuffdo conditional stuff -IF TRUE CALL FUNCTION (this case assume it''s true)call functiondo even more stuff////////////////FUNCTION 2function that was calleddoing stufffunction end/////////////FUNCTION 1do somethingdo stuffdo more conditional stuff-THIS IS WHERE I WANT IT TO COME BACK TO(assume this time I want condition to be false)call functiondo even more stuff -PROGRAM CONTINUES ON FROM HERE //NOT GOODI would really love to be able to chose where I want my function to continue from.Thanks 
  That produces what''s called spaghetti code, which is virtually impossible to make sense of unless you have an outline of your code. ;  Keep on learning.  Everything can seem a bit wierd or confusing at first until you learn the proper use of the language.  It doesnt seem like you''ve realized the use of loops yet. ;  I will try and use a loop to fix the problem.Thanks for the hints guys. ;  If you want to choose where your function will continue from just use goto Just put a label for a place to jump to like this,label1:then in your function just use goto label1; and it'll jump to the spot you want hehehehe   Edit: how's the spaghetti taste? --{You fight like a dairy farmer!}   [edited by - Greatwolf on August 2, 2003 2:25:46 AM];  Don''t use to goto function. It makes your code very hard to keep track of when reading it. It is shunned by the C++ community.   There''s no town drunk here, we all take turns.Velocity Gaming Force;  I have fixed the thing up:do{cin >> option;function();}while(option == whatever I want it to equal);That works wanders. Thanks guys. 