I've got a shorter one:
| using GLib; public class Quine { public static void main() { string s =
using GLib; public class Quine { public static void main() { string s =
%c%s%c; stdout.printf(s, 34, s, 34); } }; stdout.printf(s, 34, s, 34); } }
Based on the old C printf trick. ;-)
--
Ed
I'm a beginner with vala, and I try to create a little application to
create/modificate file with package gio-2.0. And I found one problem in
compilation stage (valac --pkg gtk+-2.0 --pkg gio-2.0 ...),error: gio/gio.h
doesn't exist. I'm googling a little bit an I found a package
gio-standalone,
On Fri, 2008-03-21 at 00:15 +0100, Isma kane wrote:
I'm a beginner with vala, and I try to create a little application to
create/modificate file with package gio-2.0. And I found one problem
in compilation stage (valac --pkg gtk+-2.0 --pkg gio-2.0 ...),error:
gio/gio.h doesn't exist. I'm