cornfed:not not really
The answer however is to put your reply were it is most appropriate. Hogarthian forum perhaps
fair enough..
Welcome to ScubaBoard, the world's largest scuba diving community. Registration is not required to read the forums, but we encourage you to join. Joining has its benefits and enables you to participate in the discussions.
Benefits of registering include
cornfed:not not really
The answer however is to put your reply were it is most appropriate. Hogarthian forum perhaps
Spectre:Lets go through this again. Without a default statement in the switch, it falls into the base subroutine code, which it falls to the end of and implicitly returns NULL, or 0, or false.
Spectre:None of you have been analysing code as long as I have, and tweaking the efficency as much as I have.
pete340:Please point to the words in the C or C++ Standard that say that functions other htan main have implicit return values.
Gosh, I guess forty years of programming and ten years on the C++ standards committee hasn't taught me anything.
Spectre:Breaks? The utter stupidity on this board is to a level beyond the pale pontificated by those that don't have the brain power to think for themselves.
None of you have been analysing code as long as I have, and tweaking the efficency as much as I have. These useless additions to end up being a cluster **** beyond all proportions and result in the compiler spinning around like a dog trying to **** a football. Until you can learn to walk and chew gum, take the lint out of your pockets and put them onto your keyboard and stop trying to question those that have the experience.
pete340:Gosh, I guess forty years of programming and ten years on the C++ standards committee hasn't taught me anything.
pete340:Gosh, I guess forty years of programming and ten years on the C++ standards committee hasn't taught me anything.
Soggy:Holy Moly.
Yes, the return value is undefined for something not in the list and yes I forgot to put in some curly braces. I didn't run it through a parser before posting it. It was just a joke.
TX101:oh, and btw while we are at it, there's no #defines for each const in the switch either..
Soggy:I'm thinking you thought Jeff was serious with his little rant. He was simply channeling George Irvine, who posted something very similar to Quest or Techdiver a long time ago. It was all tongue in cheek.
cornfed:Punch cards don't count...