How can I write a program in Windows Forms Application using VS, C++, that reads an array of strings (mostly numeric) from a text file? What I want to do is to read the strings and then put them on the texboxes and comboboxes in the Windows Form.
The example of the text file looks like (space separated)
1 10 17 9 50
5 8 9
8 7
I googled around and tried the following code, I tried to read the first column in the second row = 5, however the following code puts the entire row "5 8 9" into the textbox.