Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add new library function
  • Loading branch information
llewelld committed Jan 10, 2022
1 parent eb2e2a9 commit 0952b17
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/newslib.cpp
Expand Up @@ -6,3 +6,9 @@ void news_print()
{
std::cout << "This is the news" << std::endl;
}

void news_footer()
{
std::cout << "That was the news" << std::endl;
}

1 change: 1 addition & 0 deletions src/newslib.h
Expand Up @@ -2,5 +2,6 @@
#define NEWS_H

void news_print();
void news_footer();

#endif // NEWS_H

0 comments on commit 0952b17

Please sign in to comment.