CodingForums.com

CodingForums.com (http://www.codingforums.com/index.php)
-   Geek News and Humour (http://www.codingforums.com/forumdisplay.php?f=34)
-   -   Why I love programming (http://www.codingforums.com/showthread.php?t=276836)

DELOCH 10-14-2012 12:24 AM

Why I love programming
 
I was making a simple test program to do some simple things, and somewhy, I got a giggle out of this test program,
perhaps I am the only one, but I wanted to share it.

PHP Code:

#include <assert.h>

void proof_a()
{
    
assert(!= 2);    
}

main()
{
    
proof_a();


output:
Quote:

Assertion failed: 1 + 1 != 2, file tester.c, line 5

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
Perhaps this is just me, but I got a giggle out of this output.


All times are GMT +1. The time now is 08:14 PM.

Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.