From c3ed4a460603e481c55904f9382dd7e1d11e8958 Mon Sep 17 00:00:00 2001 From: Anthony Wang Date: Wed, 16 Sep 2020 21:53:44 -0500 Subject: [PATCH] Fixed quotes --- _posts/2020-09-01-print-hello-world-part-0.markdown | 4 +++- _posts/2020-09-16-print-hello-world-part-1.markdown | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/_posts/2020-09-01-print-hello-world-part-0.markdown b/_posts/2020-09-01-print-hello-world-part-0.markdown index 93dc535..4145a32 100644 --- a/_posts/2020-09-01-print-hello-world-part-0.markdown +++ b/_posts/2020-09-01-print-hello-world-part-0.markdown @@ -14,7 +14,9 @@ tags: ["Programming"] > Your first game will be awful > But your first code will be perfect. > Zero bugs and very clean code. -> It will be "Hello, world!"* +> It will be "Hello, world!"* +> +> *-- Anonymous* For the past few years, "programming" and "C++" have been pratically synonymous for me. I knew about the wild world of other programming languages, but for the most part, I just stayed in my little C++ bubble. After all, for competitive programming, C++ is enough. diff --git a/_posts/2020-09-16-print-hello-world-part-1.markdown b/_posts/2020-09-16-print-hello-world-part-1.markdown index db736f6..c0e8f89 100644 --- a/_posts/2020-09-16-print-hello-world-part-1.markdown +++ b/_posts/2020-09-16-print-hello-world-part-1.markdown @@ -6,7 +6,9 @@ author: Ta180m tags: ["Programming"] --- - +> *“C makes it easy to shoot yourself in the foot; C++ makes it harder, but when you do it blows your whole leg off.”* +> +> *-- Bjarne Stroustrup, creator of C++* There are a few reasons why the vast majority of competitive programmers use C++: it has a decent standard library, several good reference sources, and lots of tutorials online. But these factors are not unique to C++; what matters is its speed. A few milliseconds could be the difference between and accepted solution and time limit exceeded. Anyways, here's the code, about two weeks late, written in the "conventional" C++ style, as opposed to the condensed, macro-abusing style of competitive programmers.