I\'m making a program to make question forms. The questions are saved to a file, and I want to read them and store them in memory (I use a vector for this). My questions have th
No getline doesn't ignore whitespaces. But there nothing to stop you adding some code to skip whitespaces before you use getline. For instance
while (ss.peek() == ' ') // skip spaces ss.get(); getline(ss, question);
Soemthing like that anyway.