![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#21 |
|
Battle Programmer
Join Date: Feb 2006
Location: Bellevue, WA, USA
Posts: 754
Rep Power: 3
![]() |
Re: 500 Ways to Cause An Error
Fun defining classes (I didn't verify with a compiler that I got this error wrong, forgive me):
A.h: cpp Syntax (Toggle Plain Text)
cpp Syntax (Toggle Plain Text)
cpp Syntax (Toggle Plain Text)
__________________
<insert disclaimer here> <insert shameless plug for Visual Studio here> |
|
|
|
|
|
#22 | ||
|
Programming Guru
![]() |
Re: 500 Ways to Cause An Error
Quote:
[Linker error] undefined reference to `WinMain@16' ld returned 1 exit status Is that not a compile error? |
||
|
|
|
|
|
#23 |
|
Programmer
|
Re: 500 Ways to Cause An Error
16) Arc
lisp Syntax (Toggle Plain Text)
Consing is (or should be) a fairly expensive operation for memory. |
|
|
|
|
|
#24 |
|
Newbie
Join Date: Mar 2008
Posts: 7
Rep Power: 0
![]() |
Re: 500 Ways to Cause An Error
java Syntax (Toggle Plain Text)
Last edited by RainMan; Mar 18th, 2008 at 11:08 AM. Reason: changing script to use code tags |
|
|
|
|
|
#25 |
|
Newbie
Join Date: Mar 2008
Posts: 7
Rep Power: 0
![]() |
Re: 500 Ways to Cause An Error
if the array is defined in the main method
|
|
|
|
|
|
#26 |
|
Hobbyist Programmer
Join Date: Jun 2005
Location: here
Posts: 124
Rep Power: 0
![]() |
Re: 500 Ways to Cause An Error
18) Introduce it to management
(This *definitely* qualifies under: 'general potential to cause havoc')
__________________
"...and though our kids are blessed their parents let them shoulder all the blame." - The Quiet Things That No One Ever Knows [BrandNew] |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Basic Socket Programming Error in Linux.. Pls help | boraciner | C++ | 18 | Sep 12th, 2007 1:17 AM |
| C# corruption!!! | Kilo | C++ | 32 | May 21st, 2006 8:44 PM |
| Masm | rsnd | Assembly | 4 | May 20th, 2006 9:05 PM |
| libraries | matko | C | 1 | Jan 22nd, 2006 2:12 PM |
| String error in if statement | Blighttdm | C | 12 | Nov 18th, 2005 6:34 PM |