Removed cout in the last example

This commit is contained in:
Ole Christian Eidheim 2014-07-22 08:30:47 +02:00
commit 21bbe2714c

View file

@ -85,7 +85,6 @@ int main() {
size_t current_pos=0;
size_t pos;
while((pos=path.find('.', current_pos))!=string::npos && pos!=last_pos) {
cout << pos << endl;
current_pos=pos;
path.erase(pos, 1);
last_pos--;