Блог пользователя Abhi_Sarkar1996

Автор Abhi_Sarkar1996, история, 7 лет назад, По-английски

Hello all.I was solving this problem https://code.google.com/codejam/contest/11274486/dashboard#s=p0 which needs to input vector of strings containing spaces. So i was using getline(cin,string_name) but could not take the input properly. I explained the issue properly here : https://stackoverflow.com/questions/45903113/how-to-build-a-vector-of-strings-containing-spaces The first element in vector shows as a white space .Can anyone help me with this.Thanks.

  • Проголосовать: нравится
  • -8
  • Проголосовать: не нравится