-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add an extra newline between code blocks (#28)
- Loading branch information
1 parent
c8fba5c
commit 43e8a4b
Showing
3 changed files
with
72 additions
and
1 deletion.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
.myfunc.hpp+ | ||
[source,cpp] | ||
---- | ||
#ifndef __MYFUNC_HPP__ #define __MYFUNC_HPP__ | ||
void mymsg(); | ||
#endif | ||
---- | ||
|
||
.myfunc.cpp | ||
[source,cpp] | ||
---- | ||
#include <iostream> | ||
void mymsg() | ||
{ | ||
std::cout << "Hello, world"; | ||
} | ||
---- | ||
|
||
.mymain.cpp | ||
[source,cpp] | ||
---- | ||
#include "myfunc.hpp" | ||
int main() | ||
{ | ||
mymsg(); | ||
return 0; | ||
} | ||
---- |