I have a question, how to assign data into array? For example, I have a text file which consist of:
username1
password1
username2
password2
username3
password3
username4
password4
How to parse username2 and password 2 into array? I know I can use struct in this scenario but I am not allowed to use struct for my assignment.
Thanks.