test-021.vala 253 Bytes
Newer Older
1 2 3 4 5 6 7
using GLib;

class Maman.Foo {
	static int main (string[] args) {
		stdout.printf ("String + operator: 1");
		
		stdout.printf (" 2" + " 3");
8 9 10 11 12
		
		string s = " 4";
		s += " 5";
		
		stdout.printf ("%s", s);
13
	
14
		stdout.printf (" 6\n");
15 16 17 18

		return 0;
	}
}