Click here to Skip to main content
15,885,278 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: C declarations are half backward Pin
honey the codewitch28-Nov-20 19:17
mvahoney the codewitch28-Nov-20 19:17 
GeneralRe: C declarations are half backward Pin
Richard MacCutchan28-Nov-20 23:12
mveRichard MacCutchan28-Nov-20 23:12 
GeneralRe: C declarations are half backward Pin
Mike Hankey29-Nov-20 3:47
mveMike Hankey29-Nov-20 3:47 
GeneralRe: C declarations are half backward Pin
James Lonero30-Nov-20 13:22
James Lonero30-Nov-20 13:22 
GeneralRe: C declarations are half backward Pin
Jeff Clausius (SG)10-Dec-20 10:37
Jeff Clausius (SG)10-Dec-20 10:37 
RantRe: C declarations are half backward Pin
Daniel Pfeffer28-Nov-20 19:51
professionalDaniel Pfeffer28-Nov-20 19:51 
GeneralRe: C declarations are half backward Pin
RickZeeland28-Nov-20 20:44
mveRickZeeland28-Nov-20 20:44 
GeneralRe: C declarations are half backward Pin
OriginalGriff28-Nov-20 22:05
mveOriginalGriff28-Nov-20 22:05 
The usage is odd as well:
C++
char* p = ...
*p = 'x';
Vs
C++
foo f;
foo *pf = &f;
f.x = '?';
pf->x = '!';
Why invent two access operators "." and "->", when you could just use "*pf.x" and be more consistent? Or use "->" to dereference all pointers?

I get the feeling bits of the C spec were thrown in just before the submission deadline ... Laugh | :laugh:
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!

JokeRe: C declarations are half backward Pin
Daniel Pfeffer28-Nov-20 22:27
professionalDaniel Pfeffer28-Nov-20 22:27 
GeneralRe: C declarations are half backward Pin
W Balboos, GHB30-Nov-20 5:08
W Balboos, GHB30-Nov-20 5:08 
GeneralRe: C declarations are half backward Pin
Myron Dombrowski30-Nov-20 4:35
Myron Dombrowski30-Nov-20 4:35 
GeneralRe: C declarations are half backward Pin
Richard MacCutchan28-Nov-20 23:10
mveRichard MacCutchan28-Nov-20 23:10 
GeneralRe: C declarations are half backward Pin
honey the codewitch29-Nov-20 2:32
mvahoney the codewitch29-Nov-20 2:32 
GeneralRe: C declarations are half backward Pin
Vikram A Punathambekar29-Nov-20 2:39
Vikram A Punathambekar29-Nov-20 2:39 
GeneralRe: C declarations are half backward Pin
Richard MacCutchan29-Nov-20 2:57
mveRichard MacCutchan29-Nov-20 2:57 
GeneralRe: C declarations are half backward Pin
Sander Rossel29-Nov-20 1:00
professionalSander Rossel29-Nov-20 1:00 
GeneralShameless plug Pin
Vikram A Punathambekar29-Nov-20 2:35
Vikram A Punathambekar29-Nov-20 2:35 
GeneralRe: C declarations are half backward Pin
PIEBALDconsult29-Nov-20 4:13
mvePIEBALDconsult29-Nov-20 4:13 
GeneralRe: C declarations are half backward Pin
theoldfool29-Nov-20 12:20
professionaltheoldfool29-Nov-20 12:20 
GeneralRe: C declarations are half backward Pin
Mike Winiberg29-Nov-20 21:18
professionalMike Winiberg29-Nov-20 21:18 
GeneralRe: C declarations are half backward Pin
honey the codewitch30-Nov-20 4:00
mvahoney the codewitch30-Nov-20 4:00 
GeneralRe: C declarations are half backward Pin
Mike Winiberg30-Nov-20 4:33
professionalMike Winiberg30-Nov-20 4:33 
GeneralRe: C declarations are half backward Pin
W Balboos, GHB30-Nov-20 5:20
W Balboos, GHB30-Nov-20 5:20 
GeneralRe: C declarations are half backward Pin
Joop Eggen29-Nov-20 23:25
Joop Eggen29-Nov-20 23:25 
GeneralRe: C declarations are half backward Pin
Rusty Bullet30-Nov-20 3:52
Rusty Bullet30-Nov-20 3:52 

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.