Click here to Skip to main content
16,017,852 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
JokeRe: Syntax Pin
Cedric Moonen31-May-07 3:24
Cedric Moonen31-May-07 3:24 
JokeRe: Syntax Pin
Roger Stoltz31-May-07 3:29
Roger Stoltz31-May-07 3:29 
GeneralRe: Syntax Pin
toxcct31-May-07 3:29
toxcct31-May-07 3:29 
GeneralRe: Syntax Pin
David Crow31-May-07 3:36
David Crow31-May-07 3:36 
GeneralRe: Syntax Pin
toxcct31-May-07 3:38
toxcct31-May-07 3:38 
GeneralRe: Syntax Pin
Roger Stoltz31-May-07 3:40
Roger Stoltz31-May-07 3:40 
GeneralRe: Syntax Pin
John R. Shaw31-May-07 9:02
John R. Shaw31-May-07 9:02 
GeneralRe: Syntax Pin
Matthew Faithfull31-May-07 3:55
Matthew Faithfull31-May-07 3:55 
I agree
Roger Stoltz wrote:
nResult = GetResult(
Param1,
Param2
);


is truly Dead | X|

In general I don't think it's possible to get large numbers of developers to agree on one consistent code style. Everyone has their own style but one thing I thnk we can all agree on is that K&R style -

void CFunc(int param, very_long_type_name_for_demo_purposes a){
//..Insert code here
}

Is bad in the way pepperring your C++ with hexidecimal OpCodes and doing all your math in Octal for no reason is bad. Not matching up {} brackets like this just makes code unreadable and yet I still find developers doing it Mad | :mad:
'It really is OK you know you're not going to run out of lines in the file' is my usual response (polite version).



Nothing is exactly what it seems but everything with seems can be unpicked.

Questionpls help me-msi file Pin
saisp31-May-07 2:27
saisp31-May-07 2:27 
AnswerRe: pls help me-msi file Pin
Hamid_RT31-May-07 2:44
Hamid_RT31-May-07 2:44 
QuestionI can't believe I am having so many problems with file access Pin
ldsdbomber31-May-07 2:26
ldsdbomber31-May-07 2:26 
AnswerRe: I can't believe I am having so many problems with file access Pin
ldsdbomber31-May-07 2:28
ldsdbomber31-May-07 2:28 
AnswerRe: I can't believe I am having so many problems with file access Pin
toxcct31-May-07 2:40
toxcct31-May-07 2:40 
AnswerRe: I can't believe I am having so many problems with file access Pin
David Crow31-May-07 4:02
David Crow31-May-07 4:02 
GeneralRe: I can't believe I am having so many problems with file access Pin
ldsdbomber31-May-07 6:01
ldsdbomber31-May-07 6:01 
GeneralRe: I can't believe I am having so many problems with file access Pin
David Crow31-May-07 6:10
David Crow31-May-07 6:10 
Questionpls help me-msi file Pin
saisp31-May-07 2:25
saisp31-May-07 2:25 
AnswerRe: pls help me-msi file Pin
toxcct31-May-07 2:37
toxcct31-May-07 2:37 
AnswerRe: pls help me-msi file Pin
Hamid_RT31-May-07 2:45
Hamid_RT31-May-07 2:45 
JokeRe: IDE Pin
CPallini31-May-07 2:10
mveCPallini31-May-07 2:10 
GeneralRe: IDE Pin
Hamid_RT31-May-07 2:47
Hamid_RT31-May-07 2:47 
GeneralRe: IDE Pin
Rajesh R Subramanian31-May-07 3:10
professionalRajesh R Subramanian31-May-07 3:10 
GeneralRe: IDE Pin
toxcct31-May-07 3:23
toxcct31-May-07 3:23 
QuestionIDE Pin
tom groezer31-May-07 2:07
tom groezer31-May-07 2:07 
AnswerRe: IDE Pin
toxcct31-May-07 2:14
toxcct31-May-07 2:14 

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.