950e884618
Change hello example docs to not rely on having sources around. Instead it now inline the source to make it possible to have a truly standalone doc.
19 lines
345 B
C++
19 lines
345 B
C++
// Copyright (c) 2003 Vladimir Prus
|
|
//
|
|
// Distributed under the Boost Software License, Version 1.0. (See
|
|
// accompanying file LICENSE_1_0.txt or copy at
|
|
// http://www.boost.org/LICENSE_1_0.txt)
|
|
//
|
|
// http://www.boost.org
|
|
//
|
|
|
|
// tag::source[]
|
|
#include <iostream>
|
|
|
|
int main()
|
|
{
|
|
std::cout << "Hello!\n";
|
|
return 1;
|
|
}
|
|
// end::source[]
|