Remove std::endl in examples

This commit is contained in:
Jason Turner
2015-04-28 16:21:29 -06:00
parent fd19301a1b
commit ae8bd963f5

View File

@@ -185,14 +185,14 @@ Operations are doubles are typically faster than float. However, in vectorized o
// Bad Idea
for (int i = 0; i < 15; i++)
{
std::cout << i << std::endl;
std::cout << i << '\n';
}
// Good Idea
for (int i = 0; i < 15; ++i)
{
std::cout << i << std::endl;
std::cout << i << '\n';
}
```