-
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.
- Loading branch information
Robert Ulmer
committed
Oct 29, 2024
1 parent
9befe3c
commit 63269ba
Showing
5 changed files
with
12 additions
and
13 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,8 @@ | ||
#include "include/echo.h" | ||
#include <iostream> | ||
#include "echo.h" | ||
|
||
void echo(std::string echo_string) { | ||
std::cout << "The echo says " << echo_string << std::endl; | ||
} | ||
|
||
void echo2() { | ||
echo("2"); | ||
} | ||
void echo2() { echo("2"); } |
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 |
---|---|---|
@@ -1,5 +1,3 @@ | ||
#include <stdio.h> | ||
|
||
int main(int argc, char** argv) { | ||
printf("Hello World!\n"); | ||
} | ||
int main(int argc, char **argv) { printf("Hello World!\n"); } |
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 |
---|---|---|
@@ -1,8 +1,8 @@ | ||
#include <iostream> | ||
#include <echo.h> | ||
|
||
#include "hello.h" | ||
#include "include/hello.h" | ||
|
||
void say_hello() { | ||
// not found header | ||
echo("Hello World!"); | ||
} |
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 |
---|---|---|
@@ -1,7 +1,9 @@ | ||
#include "hello.h" | ||
#include "include/hello.h" | ||
// #include <echo.h> | ||
#include <string> | ||
// #include <string> | ||
|
||
int main(int argc, char **argv) { | ||
// ahoi | ||
|
||
int main(int argc, char** argv) { | ||
say_hello(); | ||
} |
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 |
---|---|---|
@@ -1,5 +1,6 @@ | ||
#include <iostream> | ||
|
||
int main(int argc, char ** argv) { | ||
int main(int argc, char **argv) { | ||
// just for info | ||
std::cerr << "Hello" << std::endl; | ||
} |