He said C#, not C++seek said:
public class Form1
{
private string[] m_Basics = new string[9];
// rest of the class here...
}
m_Basics[n] = textBox.Text;
It's legal to redeclare a variable that's already been declared in C++?Una said:Will infinate loop... but yeah it will compile. Very poor code.
Una said:yeah thats a start.. would rewrite it for you if I knew what you were trying to do in plain englishThings like
float amountArray [] = {0,0,0,0,0,0,0,0,0};
float endAmount [] = {0,0,0,0,0,0,0,0,0};
Are obviously gonna limit you to 9 inputs.