Created
December 24, 2018 08:00
-
-
Save Bloofer/e39c6470c952b1bf8d79874ea1184d72 to your computer and use it in GitHub Desktop.
increment example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Bad Idea | |
for (int i = 0; i < 15; i++) | |
{ | |
std::cout << i << std::endl; | |
} | |
// Good Idea | |
for (int i = 0; i < 15; ++i) | |
{ | |
std::cout << i << std::endl; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment