Click here to Skip to main content
16,004,458 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
GeneralRe: How can I prevent a class from being inherited Pin
Giorgi Dalakishvili15-Oct-07 20:24
mentorGiorgi Dalakishvili15-Oct-07 20:24 
QuestionHow do you distinguish right - left mouse events? Pin
BuckBrown11-Oct-07 7:06
BuckBrown11-Oct-07 7:06 
AnswerRe: How do you distinguish right - left mouse events? Pin
Giorgi Dalakishvili11-Oct-07 7:20
mentorGiorgi Dalakishvili11-Oct-07 7:20 
GeneralRe: How do you distinguish right - left mouse events? Pin
BuckBrown11-Oct-07 8:25
BuckBrown11-Oct-07 8:25 
Questionc++ Pin
zulfi12378610-Oct-07 20:04
zulfi12378610-Oct-07 20:04 
AnswerRe: c++ Pin
Christian Graus10-Oct-07 22:36
protectorChristian Graus10-Oct-07 22:36 
GeneralRe: c++ [modified] Pin
#realJSOP15-Oct-07 5:49
professional#realJSOP15-Oct-07 5:49 
Questionfor each loop Pin
teejayem10-Oct-07 16:57
teejayem10-Oct-07 16:57 
I know this sounds like a stupid question but i can't seem to get a for each loop to compile correctly.

I tried...
for each (IpAddress ^addr in ipAddresses) {

}

and...
IpAddress^ addr = nullptr
for each (addr in ipAddresses) {

}


but none of them compile. I know i could do a for loop but i would rather just do a for each. I searched but i cant seem to find anyone else having this problem. Thanks alot for any help

here are some of the errors:
Error	1	error C2143: syntax error : missing 'in' before '^'
Error	2	error C2065: 'addr' : undeclared identifier
Error	3	error C3192: syntax error : '^' is not a prefix operator (did you mean '*'?)


Don't be overcome by evil, but overcome evil with good

AnswerRe: for each loop Pin
Giorgi Dalakishvili10-Oct-07 20:04
mentorGiorgi Dalakishvili10-Oct-07 20:04 
GeneralRe: for each loop [modified] Pin
teejayem10-Oct-07 22:48
teejayem10-Oct-07 22:48 
GeneralRe: for each loop Pin
led mike11-Oct-07 4:20
led mike11-Oct-07 4:20 
QuestionVRP problem using genetic algorithms in c++ [modified] Pin
mihira18410-Oct-07 10:53
mihira18410-Oct-07 10:53 
AnswerRe: VRP problem using genetic algorithms in c++ Pin
Mark Salsbery10-Oct-07 12:22
Mark Salsbery10-Oct-07 12:22 
GeneralRe: VRP problem using genetic algorithms in c++ Pin
kattu10-Oct-07 21:45
kattu10-Oct-07 21:45 
AnswerRe: getting JXTA-C config to work Pin
led mike10-Oct-07 4:17
led mike10-Oct-07 4:17 
GeneralRe: getting JXTA-C config to work Pin
mihira18410-Oct-07 11:06
mihira18410-Oct-07 11:06 
QuestionPlease help me using ipl98library version 2.20 in Borland C++!!! Pin
Tien Manh9-Oct-07 20:40
Tien Manh9-Oct-07 20:40 
AnswerRe: Please help me using ipl98library version 2.20 in Borland C++!!! Pin
Christian Graus10-Oct-07 9:19
protectorChristian Graus10-Oct-07 9:19 
QuestionWhy is copy constructor called twice here?? Pin
manik singhal9-Oct-07 15:37
manik singhal9-Oct-07 15:37 
AnswerRe: Why is copy constructor called twice here?? Pin
Mark Salsbery9-Oct-07 17:06
Mark Salsbery9-Oct-07 17:06 
AnswerRe: Why is copy constructor called twice here?? Pin
manik singhal29-Feb-08 15:57
manik singhal29-Feb-08 15:57 
Questionedit box font color Pin
kani989-Oct-07 10:40
kani989-Oct-07 10:40 
AnswerRe: edit box font color Pin
Mark Salsbery9-Oct-07 13:32
Mark Salsbery9-Oct-07 13:32 
QuestionWinForms: How to override this method? Pin
Libor Tinka9-Oct-07 4:03
Libor Tinka9-Oct-07 4:03 
AnswerRe: WinForms: How to override this method? Pin
George L. Jackson9-Oct-07 13:32
George L. Jackson9-Oct-07 13:32 

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.