Click here to Skip to main content
15,909,498 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Did I Miss Something Here... Pin
Chris Losinger27-Aug-02 5:02
professionalChris Losinger27-Aug-02 5:02 
GeneralRe: Did I Miss Something Here... Pin
Nick Parker27-Aug-02 5:07
protectorNick Parker27-Aug-02 5:07 
GeneralRe: Did I Miss Something Here... Pin
Tomasz Sowinski27-Aug-02 5:00
Tomasz Sowinski27-Aug-02 5:00 
GeneralRe: Did I Miss Something Here... Pin
Nick Parker27-Aug-02 5:13
protectorNick Parker27-Aug-02 5:13 
GeneralRe: Did I Miss Something Here... Pin
Nick Parker27-Aug-02 5:04
protectorNick Parker27-Aug-02 5:04 
GeneralRe: Did I Miss Something Here... Pin
Tomasz Sowinski27-Aug-02 5:08
Tomasz Sowinski27-Aug-02 5:08 
GeneralRe: Did I Miss Something Here... Pin
markkuk27-Aug-02 5:41
markkuk27-Aug-02 5:41 
GeneralRe: Did I Miss Something Here... Pin
Roger Allen27-Aug-02 6:11
Roger Allen27-Aug-02 6:11 
It could be that your version on the C/C++ compiler does not support the use of constants ints when declaring an array. It is valid C/C++ in the latest standard, but now all recent compilers currently support it. There is a way around this using what is known as the "enum hack"

enum {Num_of_scores = 7} ;

float scores[Num_of_scores] ;


Most, if not all compiler support this old method, where an enum can be used in the place an int is used.



Roger Allen
Sonork 100.10016

I think I need a new quote, I am on the prowl, so look out for a soft cute furry looking animal, which is really a Hippo in disguise. Its probably me.
QuestionChoosing the best view? Pin
kc5zrs27-Aug-02 4:42
kc5zrs27-Aug-02 4:42 
AnswerRe: Choosing the best view? Pin
Tomasz Sowinski27-Aug-02 4:51
Tomasz Sowinski27-Aug-02 4:51 
GeneralFiguring out someone else's program Pin
Like2Byte27-Aug-02 4:14
Like2Byte27-Aug-02 4:14 
GeneralRe: Figuring out someone else's program Pin
Tomasz Sowinski27-Aug-02 4:20
Tomasz Sowinski27-Aug-02 4:20 
GeneralRe: Figuring out someone else's program Pin
Like2Byte27-Aug-02 4:35
Like2Byte27-Aug-02 4:35 
QuestionHow to speed up from DDB to DIB?Emergency Pin
csqlhy27-Aug-02 4:14
csqlhy27-Aug-02 4:14 
AnswerRe: How to speed up from DDB to DIB?Emergency Pin
Tomasz Sowinski27-Aug-02 4:18
Tomasz Sowinski27-Aug-02 4:18 
GeneralThrowing an exception from a constructor Pin
Le centriste27-Aug-02 3:57
Le centriste27-Aug-02 3:57 
GeneralRe: Throwing an exception from a constructor Pin
Tomasz Sowinski27-Aug-02 4:02
Tomasz Sowinski27-Aug-02 4:02 
GeneralSys Tray icon behavior Pin
Mike Fenske27-Aug-02 3:39
Mike Fenske27-Aug-02 3:39 
GeneralRe: Sys Tray icon behavior Pin
Todd Smith27-Aug-02 9:02
Todd Smith27-Aug-02 9:02 
GeneralSending mails using MAPI... Pin
Neha27-Aug-02 2:54
Neha27-Aug-02 2:54 
GeneralRe: Sending mails using MAPI... Pin
Michael P Butler27-Aug-02 3:18
Michael P Butler27-Aug-02 3:18 
GeneralTask bar Pin
suresh_sathya27-Aug-02 2:54
suresh_sathya27-Aug-02 2:54 
GeneralRe: Task bar Pin
User 665827-Aug-02 3:05
User 665827-Aug-02 3:05 
GeneralRe: Task bar Pin
Rickard Andersson2027-Aug-02 4:31
Rickard Andersson2027-Aug-02 4:31 
GeneralRe: Task bar Pin
User 665827-Aug-02 6:58
User 665827-Aug-02 6:58 

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.