Click here to Skip to main content
15,844,673 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Application not Launching when converting from 32bit to 64bit in VS Pin
jschell20-Nov-23 8:23
jschell20-Nov-23 8:23 
QuestionC++ file handling Pin
Saboor Sarfraz18-Nov-23 8:11
Saboor Sarfraz18-Nov-23 8:11 
AnswerRe: C++ file handling Pin
Greg Utas18-Nov-23 9:42
professionalGreg Utas18-Nov-23 9:42 
AnswerRe: C++ file handling Pin
k505418-Nov-23 9:59
mvek505418-Nov-23 9:59 
AnswerRe: C++ file handling Pin
jschell20-Nov-23 8:30
jschell20-Nov-23 8:30 
Question&foo[bar] or (foo + bar) ? Pin
honey the codewitch16-Nov-23 12:48
mvahoney the codewitch16-Nov-23 12:48 
AnswerRe: &foo[bar] or (foo + bar) ? Pin
k505416-Nov-23 17:14
mvek505416-Nov-23 17:14 
GeneralRe: &foo[bar] or (foo + bar) ? Pin
JudyL_MD17-Nov-23 4:15
JudyL_MD17-Nov-23 4:15 
Hail to the parenthesis. I always get comments that I use unnecessary parentheses in my code when I add them to pointer arithmetic or compound statements. My response is always along the lines of "yes I know and you were able to tell at a glance the order in which those statements were executed, and how the data was manipulated". Just put the damn () in there to make it easy for someone else to follow what you're trying to do without having to resort to the language specification. It's so much more maintainable for the next person, or yourself in 18 months when you go back to it.
Be wary of strong drink. It can make you shoot at tax collectors - and miss.
Lazarus Long, "Time Enough For Love" by Robert A. Heinlein

AnswerRe: &foo[bar] or (foo + bar) ? Pin
CPallini16-Nov-23 21:08
mveCPallini16-Nov-23 21:08 
GeneralRe: &foo[bar] or (foo + bar) ? Pin
Peter_in_278017-Nov-23 19:28
professionalPeter_in_278017-Nov-23 19:28 
GeneralRe: &foo[bar] or (foo + bar) ? Pin
Richard MacCutchan17-Nov-23 23:11
mveRichard MacCutchan17-Nov-23 23:11 
AnswerRe: &foo[bar] or (foo + bar) ? Pin
Richard MacCutchan16-Nov-23 22:29
mveRichard MacCutchan16-Nov-23 22:29 
AnswerRe: &foo[bar] or (foo + bar) ? Pin
jschell17-Nov-23 6:36
jschell17-Nov-23 6:36 
GeneralRe: &foo[bar] or (foo + bar) ? Pin
honey the codewitch17-Nov-23 6:38
mvahoney the codewitch17-Nov-23 6:38 
GeneralRe: &foo[bar] or (foo + bar) ? Pin
trønderen17-Nov-23 9:35
trønderen17-Nov-23 9:35 
GeneralRe: &foo[bar] or (foo + bar) ? Pin
honey the codewitch17-Nov-23 9:37
mvahoney the codewitch17-Nov-23 9:37 
GeneralRe: &foo[bar] or (foo + bar) ? Pin
trønderen17-Nov-23 12:07
trønderen17-Nov-23 12:07 
GeneralRe: &foo[bar] or (foo + bar) ? Pin
jschell20-Nov-23 8:11
jschell20-Nov-23 8:11 
GeneralRe: &foo[bar] or (foo + bar) ? Pin
honey the codewitch20-Nov-23 8:20
mvahoney the codewitch20-Nov-23 8:20 
AnswerRe: &foo[bar] or (foo + bar) ? Pin
JudyL_MD17-Nov-23 8:53
JudyL_MD17-Nov-23 8:53 
GeneralRe: &foo[bar] or (foo + bar) ? Pin
honey the codewitch17-Nov-23 8:53
mvahoney the codewitch17-Nov-23 8:53 
GeneralRe: &foo[bar] or (foo + bar) ? Pin
JudyL_MD17-Nov-23 9:08
JudyL_MD17-Nov-23 9:08 
AnswerRe: &foo[bar] or (foo + bar) ? Pin
RedDk17-Nov-23 13:05
RedDk17-Nov-23 13:05 
AnswerRe: &foo[bar] or (foo + bar) ? Pin
RedDk18-Nov-23 10:38
RedDk18-Nov-23 10:38 
GeneralRe: &foo[bar] or (foo + bar) ? Pin
trønderen18-Nov-23 10:54
trønderen18-Nov-23 10:54 

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.