Click here to Skip to main content
15,903,840 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: Why I hate C++ Pin
Munchies_Matt14-Jul-18 21:38
Munchies_Matt14-Jul-18 21:38 
GeneralRe: Why I hate C++ Pin
Bob100016-Jul-18 3:09
professionalBob100016-Jul-18 3:09 
GeneralRe: Why I hate C++ Pin
Carlosian17-Jul-18 4:45
Carlosian17-Jul-18 4:45 
GeneralRe: Why I hate C++ Pin
OriginalGriff13-Jul-18 4:20
mveOriginalGriff13-Jul-18 4:20 
GeneralRe: Why I hate C++ Pin
Rage13-Jul-18 6:09
professionalRage13-Jul-18 6:09 
GeneralRe: Why I hate C++ Pin
kalberts14-Jul-18 3:52
kalberts14-Jul-18 3:52 
GeneralRe: Why I hate C++ Pin
Gary Wheeler13-Jul-18 8:14
Gary Wheeler13-Jul-18 8:14 
GeneralRe: Why I hate C++ Pin
OriginalGriff13-Jul-18 20:25
mveOriginalGriff13-Jul-18 20:25 
COMMON allowed you to share variables between different blocks of code: much like a C++ global variable being accessible from different classes.
But ... it wasn't type checked, so you could declare a float and then use COMMON to import it as a 7 dimensional array of BYTE values if you wanted. Because the array bounds checking worked on the data as declared in the COMMON statement with no actual reference back to the original variable, you could happily use it to access any location in your memory space. And because there was no physical separation between code and data segments (flat memory model in those days) your code was not in a "read only partition" as code is now. Provided you understood machine code you could revise your program while it was running ... Laugh | :laugh:
Sent from my Amstrad PC 1640
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!

GeneralRe: Why I hate C++ Pin
pkfox13-Jul-18 21:46
professionalpkfox13-Jul-18 21:46 
GeneralRe: Why I hate C++ Pin
OriginalGriff13-Jul-18 22:00
mveOriginalGriff13-Jul-18 22:00 
GeneralRe: Why I hate C++ Pin
kalberts14-Jul-18 3:25
kalberts14-Jul-18 3:25 
GeneralRe: Why I hate C++ Pin
Gary Wheeler16-Jul-18 1:43
Gary Wheeler16-Jul-18 1:43 
GeneralRe: Why I hate C++ Pin
OriginalGriff16-Jul-18 1:48
mveOriginalGriff16-Jul-18 1:48 
GeneralRe: Why I hate C++ Pin
Gary Wheeler16-Jul-18 1:52
Gary Wheeler16-Jul-18 1:52 
GeneralRe: Why I hate C++ Pin
kalberts16-Jul-18 2:42
kalberts16-Jul-18 2:42 
GeneralRe: Why I hate C++ Pin
kalberts14-Jul-18 3:36
kalberts14-Jul-18 3:36 
GeneralRe: Why I hate C++ Pin
Gary Wheeler16-Jul-18 1:45
Gary Wheeler16-Jul-18 1:45 
GeneralRe: Why I hate C++ Pin
MKJCP16-Jul-18 3:18
MKJCP16-Jul-18 3:18 
GeneralRe: Why I hate C++ Pin
Gary Wheeler16-Jul-18 3:20
Gary Wheeler16-Jul-18 3:20 
GeneralRe: Why I hate C++ Pin
MKJCP16-Jul-18 3:30
MKJCP16-Jul-18 3:30 
GeneralRe: Why I hate C++ Pin
dan!sh 13-Jul-18 4:57
professional dan!sh 13-Jul-18 4:57 
GeneralRe: Why I hate C++ Pin
Rick York13-Jul-18 6:26
mveRick York13-Jul-18 6:26 
GeneralRe: Why I hate C++ Pin
Ian Bell, #213-Jul-18 6:44
professionalIan Bell, #213-Jul-18 6:44 
GeneralRe: Why I hate C++ Pin
Munchies_Matt14-Jul-18 21:57
Munchies_Matt14-Jul-18 21:57 
GeneralRe: Why I hate C++ Pin
Ian Bell, #215-Jul-18 7:06
professionalIan Bell, #215-Jul-18 7:06 

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.