[ create a new paste ] login | about

Link: http://codepad.org/lVtpaG4q    [ raw code | output | fork ]

C++, pasted on Nov 11:
1
2
3
4
5
6
7
8
9
10
11
12
#include <stdio.h>

int main(void)
{
	char buff[1024];

	snprintf(buff, sizeof buff, "hello %s\n", "world");

	printf("%s", buff);

	return 0;
}


Output:
1
hello world


Create a new paste based on this one


Comments: