|
-
August 21st, 2009, 03:52 AM
#7
Re: C++/CLI for each loop works for native C++ application!
 Originally Posted by CBasicNet
[Hi guys, I just found out the for each syntax used in C++/CLI only works in a native C++ application(no /CLR switch). Below it is some sample code. It cannot work with raw arrays. I have tried it in VS2005 SP1 and VS2010 Beta 1, it works. Too bad, this syntax is incompatible with C++ 0x's for each
More correctly, you mean to say that the for each syntax from C++/CLI is available as a language extension for (recent) Microsoft C++ compilers.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|