An inline function.
#include
#include
////////////////////////////////////////
// An inline function.
////////////////////////////////////////
inline void error_message(char* s)
{
std::cout << '\a' << s;
std::exit(1);
}
////////////////////////////////////////
// The main() function.
////////////////////////////////////////
main()
{
error_message("You called?");
}
Like it on Facebook, Tweet it or share this article on other bookmarking websites.