dont use std::endl in examples

This commit is contained in:
Blake Hawkins 2015-12-02 19:31:11 +00:00
parent 49afa391e5
commit 864da41e8a

View File

@ -66,7 +66,7 @@ tab characters, like so:
void func(const int x) void func(const int x)
{ {
std::cout << x << std::endl; std::cout << x << '\n';
} }
#### Code Blocks #### Code Blocks
@ -77,7 +77,7 @@ Please use 4-space indentation to trigger code parsing, rather than [fenced code
void func() void func()
{ {
std::cout << "This is code." << std::endl; std::cout << "This is code.\n";
} }
### Miscellaneous ### Miscellaneous