Quantcast
Channel: Answers for "Array convert String to int"
Browsing latest articles
Browse All 4 View Live

Answer by bubzy

the string doesn't exist, you have declared it but not initialized. you will need something like for (i = 0; i

View Article



Answer by ArkaneX

Your votes array is not initialized. After initializing votess array using splitted mvote, you have to do: votes = new int[votess.Length]; And another issue - in while loop, you're testing votess[nowi]...

View Article
Browsing latest articles
Browse All 4 View Live




Latest Images