* viks:
Roland Pibinger wrote: On 10 Jun 2006 14:40:32 -0700, "viks" <vs******@gmail.com> wrote: When I try this I get following error.
error C2440: '=' : cannot convert from 'System::Object __gc *' to
''float [5]'
This is not C++ but C++/CLI, the Microsoft hybrid language between C++
and C#. Try to ask in a newsgroup dedicated to C++/CLI.
who said its not C++ ??
The error message makes it clear that the context is not C++. While the
question may very well turn out to be pure C++, in such a case it's
usually a waste of time to play detective in order to find some possible
C++ content. So even though your question turned out to actually be
meaningful also in C++ (invalid assignment to array), by including
non-C++ context you've basically cut yourself off from answers from most
C++ experts, and you /do not know/ whether answers based on pure C++ are
valid, because the rules in an extended language may be different.
--
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?