build/example/hello/hello.cpp
Rene Rivera 950e884618 Slight cleanup of hello example.
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.
2018-01-22 09:45:02 -06:00

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[]