Merge pull request #424 from blakehawkins/no_endl

dont use std::endl in examples
This commit is contained in:
Gabriel Dos Reis
2015-12-02 12:30:33 -08:00

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