Hi im trying to create a program with an array in a windows form with C++ and I want to make it a public standard int array. I want to have 8 values in it but I keep getting errors. How woulkd I create one?
Printable View
Hi im trying to create a program with an array in a windows form with C++ and I want to make it a public standard int array. I want to have 8 values in it but I keep getting errors. How woulkd I create one?
It would be helpful if you told us the errors you're getting. Also, is this Windows C++/CLI (managed C++)? Your use of Windows Forms implies this is the case.
I have attached a copy of the error output and its a c++ clr forms app
Googling one of your errors got me this page, which would appear very relevant.
Heres the code if this is any help