Initial Course
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
#pragma once
|
||||
|
||||
namespace fundamentals {
|
||||
|
||||
// Return a greeting message for the given name.
|
||||
// Example: greet("Ada") -> "Hello, Ada!"
|
||||
[[nodiscard]] auto greet(const char* name) -> const char*;
|
||||
|
||||
// Return the program entry convention value for success.
|
||||
[[nodiscard]] constexpr auto program_exit_success() -> int { return 0; }
|
||||
|
||||
} // namespace fundamentals
|
||||
Reference in New Issue
Block a user