From 252bc808f7a9dde6f23240c219e2e284ae12f5d8 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Mon, 30 May 2016 11:46:21 -0400 Subject: Changed to title case --- composite.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'composite.cpp') 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) { std::cout << "Generating..." << std::endl; auto nq = database.nouns().with_stress({{true, false, false}}).random().limit(1).run().front(); - std::string output = "full metal " + nq.singular_form(); + std::string noun = nq.singular_form(); + noun[0] = std::toupper(noun[0]); + + std::string output = "Full Metal " + noun; std::cout << output << std::endl; twitter::tweet sent; -- cgit 1.4.1