while(!Info.eof()) {
    std::getline(Info, line,'\r');
    char a[line.length()];
    char things[]= ":.\n\0";
    for(int i=0;i<sizeof(a); i++) {
       a[i]= line[i];
    }
    ptr = strtok(a, things);
    ptr = strtok(nullptr,things);
   while (ptr!= nullptr) {
        ptr = strtok(nullptr,things);
        std::cout << ptr << std::endl;
   }
Info is the ifstream input file. line is a string. When I cout << line it displays everything no problem, the problem is i need to take away everything other than the needed strings and int, which I have done but the first 2 lines don't show. When I first executed this it displayed everything, yesterday it skipped the first line and today the first two lines. I guess this has something to do with memory or something unseen, I need help please, thanks.
 
     
    