hay i am reading strings from a file and I have to store the first six char into string array. I used this to get the file and the first six char input.
while (getline(inFile, list ))
{
line.substr(0, 6)
}
there are also some blank lines for the first six char, there i used an If statement.
how can i store the first six char that is not empty?