Repository navigation
Commit c45e4c6
authored
Update introduction.md - change .append() to push_back() (#1044)
Changed result.append(original[rindex]) to result.push_back(original[rindex]) in Approach:Iterative code.
.append() does not compile on Exercism, or on Ubuntu using gcc or clang. Appears to be because append() does not work with empty strings.1 parent e6e47e1 commit c45e4c6
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
0 commit comments