Frohikki

Frohikki

  • NA
  • 10
  • 5.6k

Convert an int to a int[]

Sep 16 2012 5:59 PM
Hi 
I'm using the same method for user input. So I have the same method for reading an int and to read in values to a int[] - array. I get a error saying can't convert type int to int[]. I can't use any other method I have to use the same method for collecting data for both the int and the array. Is there any way to solve this.
Greatfull for the help.

Answers (5)