6 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for John DB

How can I terminate resources in a safe way when JFrame is about to close? - If I put terminate() in the a finally block it runs before windowClosing(). - If I put terminate in windowClosing() it can't be accessed from an inner class. I am aware that I shouldn't …

Member Avatar for John DB
0
191
Member Avatar for Labdabeta

I was just wondering how exit worked? Does it use some lower-level language feature in its implementation? Is it compiler-specific? What is it? (I am talking about the function in stdlib.h btw)

Member Avatar for Labdabeta
0
219
Member Avatar for yeeitsneo

hi. soo i got this codes off of some site. its for a cool form entry and exit effect. but since im using this in my project i need to know what this lines of codes mean. and i mean every line. the site where i got it from doesnt …

Member Avatar for yeeitsneo
0
265
Member Avatar for dev90

i want to go back to main menu while hitting escape key in my programme. for that i have make a function. [CODE]void exit (char[]) { if(char==27} { exit(0); } } [/CODE] but i have many user inputs which are of type int,float,char..... so i have tried, [CODE]while(kbhit!=27) { //coding …

Member Avatar for adityatandon
0
2K
Member Avatar for lmali92

I am using Visual Studio 2010 I have multiple forms and when I hit close button(red X, top-right) from any form, i want the project to close entirely. Now when I do this, this does not happen by default. I always have to click on the 'stop' button in VS …

Member Avatar for codeorder
0
3K
Member Avatar for Efficience

I have written a code for checking vfork in unix. But I am getting the ambiguous behavious. When I am using exit(0) in child process , output is fine i.e; output :- Before fork I am a child My name is parent child PID=> 23133 kValue => 2 ] But …

Member Avatar for Efficience
0
282

The End.