Click here to Skip to main content
14,238,485 members

C / C++ / MFC

 
AnswerRe: Has C++ ever considered XML style namespaces? Pin
Stefan_Lang2-May-19 2:10
memberStefan_Lang2-May-19 2:10 
GeneralRe: Has C++ ever considered XML style namespaces? Pin
CPallini3-May-19 0:05
mveCPallini3-May-19 0:05 
GeneralRe: Has C++ ever considered XML style namespaces? Pin
Stefan_Lang3-May-19 3:58
memberStefan_Lang3-May-19 3:58 
GeneralRe: Has C++ ever considered XML style namespaces? Pin
CPallini3-May-19 4:23
mveCPallini3-May-19 4:23 
GeneralRe: Has C++ ever considered XML style namespaces? Pin
Victor Nijegorodov3-May-19 4:54
memberVictor Nijegorodov3-May-19 4:54 
GeneralRe: Has C++ ever considered XML style namespaces? Pin
CPallini3-May-19 5:15
mveCPallini3-May-19 5:15 
GeneralRe: Has C++ ever considered XML style namespaces? Pin
Victor Nijegorodov3-May-19 8:11
memberVictor Nijegorodov3-May-19 8:11 
GeneralRe: Has C++ ever considered XML style namespaces? Pin
Stefan_Lang6-May-19 4:41
memberStefan_Lang6-May-19 4:41 
CPallini wrote:
Verbosity does not imply clarity

That's why I said 'should'
CPallini wrote:
(still, I believe that 'i' is a better name than 'index')

I agree that 'index' is no more useful a name than 'i'. If there is any implied meaning to an index other than being the i'th element in a container, I prefer a variable name that reflects this meaning. For example if I have a curve consisting of several joined edges, I prefer 'edge_index' over 'i' or 'index'. Not only does this add clarity, it also makes my code extendable: if I later find I want to process each edge as a list of points, I have no problem naming the nested loop variable as 'point_index', and i wouldn't need to rename the existing loop variable.
GOTOs are a bit like wire coat hangers: they tend to breed in the darkness, such that where there once were few, eventually there are many, and the program's architecture collapses beneath them. (Fran Poretto)

QuestionMFC Top Level menu position. Pin
Maximilien29-Apr-19 7:50
memberMaximilien29-Apr-19 7:50 
AnswerRe: MFC Top Level menu position. Pin
leon de boer1-May-19 0:13
memberleon de boer1-May-19 0:13 
QuestionImage display problem in listcontrol Pin
tianzhili439925-Apr-19 16:50
membertianzhili439925-Apr-19 16:50 
AnswerRe: Image display problem in listcontrol Pin
Victor Nijegorodov25-Apr-19 21:07
memberVictor Nijegorodov25-Apr-19 21:07 
GeneralRe: Image display problem in listcontrol Pin
tianzhili439925-Apr-19 22:29
membertianzhili439925-Apr-19 22:29 
GeneralRe: Image display problem in listcontrol Pin
Victor Nijegorodov26-Apr-19 2:03
memberVictor Nijegorodov26-Apr-19 2:03 
QuestionConversion from- C++ to C-language < free(): invalid size > Pin
zak10025-Apr-19 9:14
memberzak10025-Apr-19 9:14 
AnswerRe: Conversion from- C++ to C-language < free(): invalid size > Pin
k505425-Apr-19 10:05
memberk505425-Apr-19 10:05 
AnswerRe: Conversion from- C++ to C-language < free(): invalid size > Pin
John R. Shaw26-Apr-19 9:19
memberJohn R. Shaw26-Apr-19 9:19 
GeneralRe: Conversion from- C++ to C-language < free(): invalid size > Pin
zak10026-Apr-19 10:22
memberzak10026-Apr-19 10:22 
GeneralRe: Conversion from- C++ to C-language < free(): invalid size > Pin
John R. Shaw26-Apr-19 12:31
memberJohn R. Shaw26-Apr-19 12:31 
GeneralRe: Conversion from- C++ to C-language < free(): invalid size > Pin
zak10026-Apr-19 14:57
memberzak10026-Apr-19 14:57 
GeneralRe: Conversion from- C++ to C-language < free(): invalid size > Pin
zak10026-Apr-19 17:53
memberzak10026-Apr-19 17:53 
GeneralRe: Conversion from- C++ to C-language < free(): invalid size > Pin
John R. Shaw30-Apr-19 4:56
memberJohn R. Shaw30-Apr-19 4:56 
GeneralRe: Conversion from- C++ to C-language < free(): invalid size > Pin
zak10030-Apr-19 5:48
memberzak10030-Apr-19 5:48 
GeneralMessage Closed Pin
30-Apr-19 0:01
grouppestcontrol130-Apr-19 0:01 
QuestionPointer to Pointer: Conversion from- C++ to C-language Pin
zak10024-Apr-19 18:47
memberzak10024-Apr-19 18:47 

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.