PDA

View Full Version : Where i place this function?



minaadel1994
12-05-2008, 05:51 PM
hi guys i made a program and i need help to put in a quit function (its in french) for my school.... (extra work)
unfortunetly its too long =[ so i posted it on a website that allows u to edit my code and repost :) no need to download

The url is :
http://pastebin.com/m*60474ad


Please help and mods dont remove the url (simple input/output site) just take a look before ur remove :P


**********Thanks************


Mina

Moonbat
12-05-2008, 08:52 PM
I think you should put it at the beginning of your do-while loop.

minaadel1994
12-06-2008, 02:26 PM
LOL i tryed that :P didnt work... , if u find a better function or sumething it would be nice cuz this one worked on the matrix effect only :O

minaadel1994
12-15-2008, 01:47 PM
i also tryed exit (0) before.... but still =/ not workin , it only worked for me in the matrix effect code i posted on here before :) , i just need to search for a place to put it in and work on all the program (not only * part of it )
example :
im at the start of the program and wanna quit i just press esc...
even if im in the middle of it and wanna quit i just press esc....
or at the end :)....
thats it Lol
i dont want anyone to s***est new function though (but if it work post it on :P)



Thanks though Daniel i appreciate ur help.. (ur the only one who knows C++ :D here )