Fixed quotes

This commit is contained in:
Anthony Wang 2020-09-16 21:53:44 -05:00
parent 5f2d3204da
commit c3ed4a4606
Signed by: a
GPG key ID: 6FD3502572299774
2 changed files with 6 additions and 2 deletions

View file

@ -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.

View file

@ -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.