Click here to Skip to main content
15,885,278 members

The Weird and The Wonderful

   

The Weird and The Wonderful forum is a place to post Coding Horrors, Worst Practices, and the occasional flash of brilliance.

We all come across code that simply boggles the mind. Lazy kludges, embarrassing mistakes, horrid workarounds and developers just not quite getting it. And then somedays we come across - or write - the truly sublime.

Post your Best, your worst, and your most interesting. But please - no programming questions . This forum is purely for amusement and discussions on code snippets. All actual programming questions will be removed.

 
GeneralRe: Why not edit the auto-generated file? Pin
Big Daddy Farang18-Jul-08 10:45
Big Daddy Farang18-Jul-08 10:45 
GeneralRe: Why not edit the auto-generated file? Pin
Lutosław21-Jul-08 11:54
Lutosław21-Jul-08 11:54 
GeneralRe: Why not edit the auto-generated file? [modified] Pin
Star Vega21-Jul-08 22:22
Star Vega21-Jul-08 22:22 
GeneralRe: [Message Deleted] Pin
Paul Conrad22-Jul-08 15:43
professionalPaul Conrad22-Jul-08 15:43 
GeneralRe: [Message Deleted] Pin
Lutosław26-Jul-08 12:17
Lutosław26-Jul-08 12:17 
GeneralPass by value and pass by reference Pin
Sherin Iranimose17-Jul-08 6:49
Sherin Iranimose17-Jul-08 6:49 
GeneralRe: Pass by value and pass by reference Pin
Maximilien17-Jul-08 7:26
Maximilien17-Jul-08 7:26 
GeneralRe: Pass by value and pass by reference Pin
Sherin Iranimose17-Jul-08 18:21
Sherin Iranimose17-Jul-08 18:21 
So If I print the value anywhere inside the Load function will only print 10.

But it is not....

Its 30 after function call.

EVEN THE WORD IMPOSSIBLE SAYS I M POSSIBLE.

How to post a question

GeneralRe: Pass by value and pass by reference Pin
BillW333-Sep-08 2:44
professionalBillW333-Sep-08 2:44 
GeneralRe: Pass by value and pass by reference PinPopular
Pete O'Hanlon17-Jul-08 9:25
mvePete O'Hanlon17-Jul-08 9:25 
JokeRe: Pass by value and pass by reference Pin
Big Daddy Farang17-Jul-08 10:03
Big Daddy Farang17-Jul-08 10:03 
GeneralRe: Pass by value and pass by reference Pin
Chris Meech17-Jul-08 11:43
Chris Meech17-Jul-08 11:43 
GeneralRe: Pass by value and pass by reference Pin
Big Daddy Farang17-Jul-08 11:50
Big Daddy Farang17-Jul-08 11:50 
GeneralRe: Pass by value and pass by reference Pin
Paul Conrad17-Jul-08 16:24
professionalPaul Conrad17-Jul-08 16:24 
JokeRe: Pass by value and pass by reference Pin
Sherin Iranimose17-Jul-08 18:28
Sherin Iranimose17-Jul-08 18:28 
GeneralRe: Pass by value and pass by reference Pin
Muigai Mwaura21-Jul-08 23:04
Muigai Mwaura21-Jul-08 23:04 
GeneralRe: Pass by value and pass by reference Pin
Paul Conrad17-Jul-08 16:23
professionalPaul Conrad17-Jul-08 16:23 
GeneralRe: Pass by value and pass by reference Pin
Sherin Iranimose17-Jul-08 18:23
Sherin Iranimose17-Jul-08 18:23 
GeneralRe: Pass by value and pass by reference Pin
darkelv17-Jul-08 20:08
darkelv17-Jul-08 20:08 
GeneralRe: Pass by value and pass by reference Pin
Paul Conrad18-Jul-08 2:55
professionalPaul Conrad18-Jul-08 2:55 
GeneralRe: Pass by value and pass by reference Pin
V.17-Jul-08 22:17
professionalV.17-Jul-08 22:17 
GeneralRe: Pass by value and pass by reference Pin
CPallini17-Jul-08 23:09
mveCPallini17-Jul-08 23:09 
GeneralRe: Pass by value and pass by reference Pin
Joe Woodbury19-Jul-08 9:12
professionalJoe Woodbury19-Jul-08 9:12 
GeneralRe: Pass by value and pass by reference Pin
CPallini20-Jul-08 3:56
mveCPallini20-Jul-08 3:56 
GeneralRe: Pass by value and pass by reference Pin
Joe Woodbury19-Jul-08 9:07
professionalJoe Woodbury19-Jul-08 9:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.