Recent content by wusong77

  1. W

    Difference between getline() and get()?

    Apparently my-virtual has done a great job explaining buffer and extracting. However, given the context of the problem, the best solution to the original problem is to add a line of code : cin >> year; /*************added line********** cin.get(); ************/ count << "What is its street...