Invalid rank specifier: expected ',' or ']'
-
powerList = new string[256] {"..." };
powerIndex = new string[30] {"..." };
typeIt = new int[256] { 1, ..., 2 };am I not doing exactly what it says in MSDN? <a href="http://msdn.microsoft.com/en-us/library/aa288453(VS.71).aspx">msdn
string[] names = new string[] {"Matt", "Joanne", "Robert"};
i swear for each stupid mistake I bring you guys, I fix a lot of them on my own...
-
powerList = new string[256] {"..." };
powerIndex = new string[30] {"..." };
typeIt = new int[256] { 1, ..., 2 };am I not doing exactly what it says in MSDN? <a href="http://msdn.microsoft.com/en-us/library/aa288453(VS.71).aspx">msdn
string[] names = new string[] {"Matt", "Joanne", "Robert"};
i swear for each stupid mistake I bring you guys, I fix a lot of them on my own...
msheekhah wrote:
am I not doing exactly what it says in MSDN?
No. Here is why you failed.[^] (After a simple Google[^] search)
msheekhah wrote:
i swear for each stupid mistake I bring you guys, I fix a lot of them on my own...
That's why everyone(except you) looks for answers on Google[^] first rather than posting here.
My failometer is detecting vast quantities of FAIL! "Its SQL - hardly programming..." (Caslen)
-
powerList = new string[256] {"..." };
powerIndex = new string[30] {"..." };
typeIt = new int[256] { 1, ..., 2 };am I not doing exactly what it says in MSDN? <a href="http://msdn.microsoft.com/en-us/library/aa288453(VS.71).aspx">msdn
string[] names = new string[] {"Matt", "Joanne", "Robert"};
i swear for each stupid mistake I bring you guys, I fix a lot of them on my own...
Without seeing the declarations for
powerList
,powerIndex
andtypeIt
it is not possible to be absolutely sure. Also are the ellipses meant to indicate that you have fully initialised the arrays, or are they what you have literally typed in your code. Lastly it would be very helpful to know on which line the error occurs.Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.”
-
powerList = new string[256] {"..." };
powerIndex = new string[30] {"..." };
typeIt = new int[256] { 1, ..., 2 };am I not doing exactly what it says in MSDN? <a href="http://msdn.microsoft.com/en-us/library/aa288453(VS.71).aspx">msdn
string[] names = new string[] {"Matt", "Joanne", "Robert"};
i swear for each stupid mistake I bring you guys, I fix a lot of them on my own...
Hey, a few days ago you claimed you knew OOP and C++, now it looks like we are getting updates on every line of you code because you can't get it to work. You should really get some basic info on C# so that you can write or at least google something yourself, for a change.