Click here to Skip to main content
15,887,449 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Serial downvoters still exist on CodeProject? Pin
Jeremy Falcon9-Oct-23 4:52
professionalJeremy Falcon9-Oct-23 4:52 
GeneralRe: Serial downvoters still exist on CodeProject? Pin
jthompson129-Oct-23 7:07
jthompson129-Oct-23 7:07 
GeneralMean People Suck Pin
etkid8410-Oct-23 4:25
etkid8410-Oct-23 4:25 
GeneralC++ integer arithmetic overflow Pin
BernardIE53176-Oct-23 4:37
BernardIE53176-Oct-23 4:37 
JokeRe: C++ integer arithmetic overflow Pin
Jeremy Falcon6-Oct-23 4:46
professionalJeremy Falcon6-Oct-23 4:46 
GeneralRe: C++ integer arithmetic overflow Pin
Mike Hankey6-Oct-23 4:53
mveMike Hankey6-Oct-23 4:53 
AnswerRe: C++ integer arithmetic overflow PinPopular
JudyL_MD6-Oct-23 4:54
JudyL_MD6-Oct-23 4:54 
GeneralRe: C++ integer arithmetic overflow - danger, danger Pin
jmaida6-Oct-23 16:15
jmaida6-Oct-23 16:15 
Many moons ago, I was called in as consultant for a small business using Cobol
and random access files for recording inventory transactions.
Their main database file had been corrupted with new transactions
overwriting existing transactions.
I suspected integer oveflow.
The field in the header record for the file was used to store the
next free location. It was 16 bits so once they reached 65536
transactions the next free location was previously used.
The Cobol number field was always positive so the roll over just went backwards.
They were very surprised that 65536 transactions had occured.
The coding fix was easy. I had to calculate the corrupted locations and
restore the data from backups. Because I was still in Grad school,
and the owner provided me extra pay for less hours
so I could finish.
True story.
"A little time, a little trouble, your better day"
Badfinger

GeneralRe: C++ integer arithmetic overflow Pin
Member 133016798-Oct-23 21:42
Member 133016798-Oct-23 21:42 
GeneralRe: C++ integer arithmetic overflow Pin
Martijn Smitshoek9-Oct-23 9:19
Martijn Smitshoek9-Oct-23 9:19 
GeneralRe: C++ integer arithmetic overflow Pin
jeron16-Oct-23 4:54
jeron16-Oct-23 4:54 
GeneralRe: C++ integer arithmetic overflow Pin
OriginalGriff6-Oct-23 4:55
mveOriginalGriff6-Oct-23 4:55 
GeneralRe: C++ integer arithmetic overflow Pin
PIEBALDconsult6-Oct-23 6:04
mvePIEBALDconsult6-Oct-23 6:04 
GeneralRe: C++ integer arithmetic overflow Pin
k50546-Oct-23 6:13
mvek50546-Oct-23 6:13 
GeneralRe: C++ integer arithmetic overflow Pin
jschell6-Oct-23 7:23
jschell6-Oct-23 7:23 
GeneralRe: C++ integer arithmetic overflow Pin
RedDk6-Oct-23 8:11
RedDk6-Oct-23 8:11 
GeneralRe: C++ integer arithmetic overflow Pin
0x01AA6-Oct-23 8:35
mve0x01AA6-Oct-23 8:35 
JokeRe: C++ integer arithmetic overflow Pin
Nelek6-Oct-23 8:55
protectorNelek6-Oct-23 8:55 
JokeRe: C++ integer arithmetic overflow Pin
0x01AA6-Oct-23 9:06
mve0x01AA6-Oct-23 9:06 
GeneralRe: C++ integer arithmetic overflow Pin
Nelek6-Oct-23 9:10
protectorNelek6-Oct-23 9:10 
GeneralRe: C++ integer arithmetic overflow Pin
0x01AA6-Oct-23 9:16
mve0x01AA6-Oct-23 9:16 
GeneralRe: C++ integer arithmetic overflow Pin
Member 133016799-Oct-23 0:46
Member 133016799-Oct-23 0:46 
GeneralRe: C++ integer arithmetic overflow Pin
JSilvers9-Oct-23 8:07
professionalJSilvers9-Oct-23 8:07 
GeneralRe: C++ integer arithmetic overflow Pin
Lurk9-Oct-23 7:07
Lurk9-Oct-23 7:07 
GeneralRe: C++ integer arithmetic overflow Pin
Martijn Smitshoek9-Oct-23 9:30
Martijn Smitshoek9-Oct-23 9:30 

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.