Removed cout in the last example
This commit is contained in:
parent
e1bae5e587
commit
21bbe2714c
1 changed files with 0 additions and 1 deletions
|
|
@ -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--;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue