aboutsummaryrefslogtreecommitdiff
path: root/src/tests/print.cpp
blob: 7d55554aa7b8bcff81d3589fc49ba2f07d42d6a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#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?");

	return 0;
}