Click here to Skip to main content
14,742,305 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: Splitting CSS? Pin
dandy7226-May-18 10:40
Memberdandy7226-May-18 10:40 
GeneralRe: Splitting CSS? Pin
Chris Maunder26-May-18 8:47
cofounderChris Maunder26-May-18 8:47 
GeneralRe: Splitting CSS? Pin
RandyBuchholz26-May-18 9:51
MemberRandyBuchholz26-May-18 9:51 
GeneralRe: Splitting CSS? Pin
Chris Maunder26-May-18 11:26
cofounderChris Maunder26-May-18 11:26 
GeneralRe: Splitting CSS? Pin
RandyBuchholz26-May-18 12:19
MemberRandyBuchholz26-May-18 12:19 
GeneralRe: Splitting CSS? Pin
jgakenhe26-May-18 9:07
professionaljgakenhe26-May-18 9:07 
GeneralRe: Splitting CSS? Pin
RandyBuchholz26-May-18 9:44
MemberRandyBuchholz26-May-18 9:44 
GeneralWhy does most C/C++ developer prefers char *c instead of char* c? Pin
.jpg26-May-18 3:20
Member.jpg26-May-18 3:20 
char is a type and c is a name, to me, it always make more sense to put the name alone and have the type together, like "char* c", I can tell immediately that it is a pointer to a char, so its always goes like [type] [name].

But in contrast, most C/C++ code I found prefer the other way around, like "char *c". Is there any specific reasons why this is so?
GeneralRe: Why does most C/C++ developer prefers char *c instead of char* c? Pin
User 1106097926-May-18 3:30
mveUser 1106097926-May-18 3:30 
GeneralRe: Why does most C/C++ developer prefers char *c instead of char* c? Pin
Mike Hankey26-May-18 3:57
professionalMike Hankey26-May-18 3:57 
GeneralRe: Why does most C/C++ developer prefers char *c instead of char* c? Pin
lopatir26-May-18 4:12
Memberlopatir26-May-18 4:12 
GeneralRe: Why does most C/C++ developer prefers char *c instead of char* c? Pin
User 1106097926-May-18 4:22
mveUser 1106097926-May-18 4:22 
GeneralRe: Why does most C/C++ developer prefers char *c instead of char* c? Pin
lopatir26-May-18 5:21
Memberlopatir26-May-18 5:21 
GeneralRe: Why does most C/C++ developer prefers char *c instead of char* c? Pin
User 1106097926-May-18 5:27
mveUser 1106097926-May-18 5:27 
GeneralRe: Why does most C/C++ developer prefers char *c instead of char* c? Pin
Richard MacCutchan26-May-18 5:46
mveRichard MacCutchan26-May-18 5:46 
GeneralRe: Why does most C/C++ developer prefers char *c instead of char* c? Pin
User 1106097926-May-18 5:53
mveUser 1106097926-May-18 5:53 
GeneralRe: Why does most C/C++ developer prefers char *c instead of char* c? Pin
Richard MacCutchan26-May-18 6:17
mveRichard MacCutchan26-May-18 6:17 
GeneralRe: Why does most C/C++ developer prefers char *c instead of char* c? Pin
User 1106097926-May-18 6:21
mveUser 1106097926-May-18 6:21 
GeneralRe: Why does most C/C++ developer prefers char *c instead of char* c? Pin
Gerry Schmitz29-May-18 7:59
mveGerry Schmitz29-May-18 7:59 
GeneralRe: Why does most C/C++ developer prefers char *c instead of char* c? Pin
Ron Anders26-May-18 4:25
MemberRon Anders26-May-18 4:25 
GeneralRe: Why does most C/C++ developer prefers char *c instead of char* c? Pin
jschell26-May-18 7:33
Memberjschell26-May-18 7:33 
GeneralRe: Why does most C/C++ developer prefers char *c instead of char* c? Pin
lopatir26-May-18 9:51
Memberlopatir26-May-18 9:51 
GeneralRe: Why does most C/C++ developer prefers char *c instead of char* c? Pin
jschell9-Jun-18 6:35
Memberjschell9-Jun-18 6:35 
GeneralRe: Why does most C/C++ developer prefers char *c instead of char* c? PinPopular
PIEBALDconsult26-May-18 8:30
professionalPIEBALDconsult26-May-18 8:30 
PraiseRe: Why does most C/C++ developer prefers char *c instead of char* c? Pin
CPallini26-May-18 12:02
mveCPallini26-May-18 12:02 

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.