Search:

Type: Posts; User: hefese

Search: Search took 0.11 seconds.

  1. Replies
    2
    Views
    1,062

    Re: assert() function is not working. Why?

    Thank you so much Cornix. I did it in Eclipse and Netbeans like that:

    In Eclipse:
    Run->Run Configurations->Arguments->VM Arguments-> ....
    I wrote -ea in VM Arguments.

    In Netbeans:
    Run->Set...
  2. Replies
    2
    Views
    1,062

    assert() function is not working. Why?

    The following program is not working as I want. The assert() function is not working while I'm entering a number which is out of range 0-10. Whereas, according to my book, it is working like that:
    ...
Results 1 to 2 of 2