Click here to Skip to main content
14,271,889 members

C / C++ / MFC

 
QuestionCTreeCtrl get individual item font ? Pin
Maximilien8-Aug-19 4:55
memberMaximilien8-Aug-19 4:55 
AnswerRe: CTreeCtrl get individual item font ? Pin
Victor Nijegorodov8-Aug-19 9:40
memberVictor Nijegorodov8-Aug-19 9:40 
GeneralRe: CTreeCtrl get individual item font ? Pin
Maximilien9-Aug-19 5:07
memberMaximilien9-Aug-19 5:07 
AnswerMessage Closed Pin
9-Aug-19 0:53
memberMember 145550709-Aug-19 0:53 
AnswerRe: CTreeCtrl get individual item font ? Pin
Victor Nijegorodov9-Aug-19 1:57
memberVictor Nijegorodov9-Aug-19 1:57 
GeneralRe: CTreeCtrl get individual item font ? Pin
Maximilien9-Aug-19 5:07
memberMaximilien9-Aug-19 5:07 
Questionerror C2143: syntax error Pin
_Flaviu8-Aug-19 0:22
member_Flaviu8-Aug-19 0:22 
AnswerRe: error C2143: syntax error Pin
Daniel Pfeffer8-Aug-19 1:00
professionalDaniel Pfeffer8-Aug-19 1:00 
This form of initialization is valid in GNU C, and is valid in other compilers only if they support C99 or later. I don't remember off-hand whether this is supported in C++.

You can make this compatible with C89 by adding the missing initializers, e.g.:
test_t test123 = { "Bibi", "Bibi_one", foo, bar };

Where foo and bar are the values for missing members in the struct.
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.

AnswerRe: error C2143: syntax error Pin
Stefan_Lang8-Aug-19 21:59
memberStefan_Lang8-Aug-19 21:59 
GeneralRe: error C2143: syntax error Pin
_Flaviu9-Aug-19 0:20
member_Flaviu9-Aug-19 0:20 
Questionzero-sized array in struct/union Pin
_Flaviu5-Aug-19 21:39
member_Flaviu5-Aug-19 21:39 
AnswerRe: zero-sized array in struct/union Pin
Victor Nijegorodov5-Aug-19 22:13
memberVictor Nijegorodov5-Aug-19 22:13 
GeneralRe: zero-sized array in struct/union Pin
_Flaviu5-Aug-19 22:24
member_Flaviu5-Aug-19 22:24 
GeneralRe: zero-sized array in struct/union Pin
Victor Nijegorodov5-Aug-19 22:28
memberVictor Nijegorodov5-Aug-19 22:28 
GeneralRe: zero-sized array in struct/union Pin
Randor 5-Aug-19 22:31
professional Randor 5-Aug-19 22:31 
GeneralRe: zero-sized array in struct/union Pin
CPallini5-Aug-19 22:36
mveCPallini5-Aug-19 22:36 
JokeRe: zero-sized array in struct/union Pin
Randor 5-Aug-19 22:43
professional Randor 5-Aug-19 22:43 
GeneralRe: zero-sized array in struct/union Pin
CPallini5-Aug-19 23:02
mveCPallini5-Aug-19 23:02 
GeneralRe: zero-sized array in struct/union Pin
Randor 5-Aug-19 23:34
professional Randor 5-Aug-19 23:34 
GeneralRe: zero-sized array in struct/union Pin
_Flaviu5-Aug-19 22:40
member_Flaviu5-Aug-19 22:40 
QuestionRe: zero-sized array in struct/union Pin
CPallini5-Aug-19 23:29
mveCPallini5-Aug-19 23:29 
AnswerRe: zero-sized array in struct/union Pin
Randor 5-Aug-19 23:38
professional Randor 5-Aug-19 23:38 
AnswerRe: zero-sized array in struct/union Pin
leon de boer6-Aug-19 3:23
memberleon de boer6-Aug-19 3:23 
PraiseRe: zero-sized array in struct/union Pin
CPallini6-Aug-19 10:15
mveCPallini6-Aug-19 10:15 
QuestionRe: zero-sized array in struct/union Pin
Richard MacCutchan5-Aug-19 22:14
protectorRichard MacCutchan5-Aug-19 22: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.