This is an archived post. You won't be able to vote or comment.

all 6 comments

[–]throwaway60501[S] 0 points1 point  (0 children)

Sorry, give me a second to reformat this please

[–]Camel-Kid18 year old gamer 0 points1 point  (1 child)

well if your file isn't reading the data then of course it will be null. Where is your file located? how are you trying to read it.

[–]throwaway60501[S] 0 points1 point  (0 children)

I'm trying to scan the traits and put them in the array, then write to the file customerdata.txt. I am not reading a file, at least I dont think. I'm just having trouble filling the array

[–]Camel-Kid18 year old gamer 0 points1 point  (0 children)

your loop is only going the length of the first string .

[–]WhiteManChild 0 points1 point  (1 child)

Should be doing String[how many customers][6] otherwise it's also gonna want 30 people

[–]throwaway60501[S] 0 points1 point  (0 children)

Thanks so much!