just stop program
spir
denis.spir at gmail.com
Fri Nov 5 02:32:53 PDT 2010
Hello,
Is there a way for a program to simply exit before end of main()? An instruction like exit, quit, end, halt, stop...
[assert(false) is not why I'm looking for, as (1) the compiler protests if there is unreachable code (2) it throws in non-release mode. I just want the program to stop, basta! My use case is first debugging (avoid later debug output to be written on terminal).]
Denis
-- -- -- -- -- -- --
vit esse estrany ☣
spir.wikidot.com
More information about the Digitalmars-d-learn
mailing list