aboutsummaryrefslogtreecommitdiff
path: root/src/tests/print.cpp
blob: 7a2fab20c11e770dd8bececff0a919a5e288ff16 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <bu/sio.h>

int main()
{
	Bu::print("hello there %1!\n").arg("Bob");

	Bu::println("This is %1 crazy, like %2 times over!").
		arg("totally").arg( 47.2 );
	Bu::println("This is unsubstituted?");

	Bu::serr << "This is error text." << Bu::serr.nl;

	return 0;
}