Hello, 2011/6/20 Serge Hulne <[email protected]>: > Is this the right syntax for defining pointers in Vala ?
I think the following is better:
using Posix;
void main (string[] argv) {
string a = "hello";
string* b = a;
strcpy(b, "bye");
Posix.stdout.printf("a = %s\n", a);
Posix.stdout.printf("b = %s\n", b);
}
HTH,
Abderrahim
_______________________________________________
vala-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/vala-list
