diff options
| author | Troy <121986550+radiohotline@users.noreply.github.com> | 2023-06-02 22:29:24 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-06-02 22:29:24 +0300 |
| commit | a3b0bdfdc4c1bac38c0e94a8b4e8d909de7c4b6a (patch) | |
| tree | 4067a70d0c0407c66819e9ecc415483696c41ce8 /src/loveletter.cpp | |
| parent | 4ab4390d50b198bca073f25bca472329e9cfd249 (diff) | |
Update loveletter.cpp
Fixed code.
Diffstat (limited to 'src/loveletter.cpp')
| -rw-r--r-- | src/loveletter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/loveletter.cpp b/src/loveletter.cpp index 44d215e..c9b6336 100644 --- a/src/loveletter.cpp +++ b/src/loveletter.cpp @@ -15,7 +15,7 @@ Print the letter's closing using namespace std; -string word(string[] type) { +string word(string type[]) { string word; word = type[rand() % size(type)];; |
