diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2016-05-30 11:46:21 -0400 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2016-05-30 11:46:21 -0400 |
commit | 252bc808f7a9dde6f23240c219e2e284ae12f5d8 (patch) | |
tree | 69f4d8b6f67ef502799d090e90ac5ec4b2be4254 /composite.cpp | |
parent | 95cd6e298cf6b80476fdcec08c5249ff4530bb16 (diff) | |
download | composite-252bc808f7a9dde6f23240c219e2e284ae12f5d8.tar.gz composite-252bc808f7a9dde6f23240c219e2e284ae12f5d8.tar.bz2 composite-252bc808f7a9dde6f23240c219e2e284ae12f5d8.zip |
Changed to title case
Diffstat (limited to 'composite.cpp')
-rw-r--r-- | composite.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/composite.cpp b/composite.cpp index 891f179..bac075c 100644 --- a/composite.cpp +++ b/composite.cpp | |||
@@ -23,7 +23,10 @@ int main(int argc, char** argv) | |||
23 | { | 23 | { |
24 | std::cout << "Generating..." << std::endl; | 24 | std::cout << "Generating..." << std::endl; |
25 | auto nq = database.nouns().with_stress({{true, false, false}}).random().limit(1).run().front(); | 25 | auto nq = database.nouns().with_stress({{true, false, false}}).random().limit(1).run().front(); |
26 | std::string output = "full metal " + nq.singular_form(); | 26 | std::string noun = nq.singular_form(); |
27 | noun[0] = std::toupper(noun[0]); | ||
28 | |||
29 | std::string output = "Full Metal " + noun; | ||
27 | std::cout << output << std::endl; | 30 | std::cout << output << std::endl; |
28 | 31 | ||
29 | twitter::tweet sent; | 32 | twitter::tweet sent; |