Hello Jürg, all,
* Jürg Billeter wrote on Tue, Apr 07, 2009 at 11:20:36PM CEST:
On Tue, 2009-04-07 at 23:08 +0200, Ralf Wildenhues wrote:
Other than that, I haven't yet gotten around to get my system up to date
in order to support Vala 0.7 yet. Would you be so nice as to post
verbose log
Hello,
I have the simple question. Imagine That we have a vala CLI
application... for example like this:
//- Main.vala ---
using GLib;
class cli_hello : Glib.Object {
void print_default_hello () {
stdout.printf(Hello world!\n);
}
static int main (string[] args)
{
var
Андрей Игоревич Кучеров z...@... writes:
I have the simple question. Imagine That we have a vala CLI
application... [...]
And I wand to add new method to my cli_hello class. And this method
needs the C header file... for example sys/socket.h, and use C
function in my Vala application.
Is
Hi.
This may be a too much newbie question, but:
How do you access a character in a string?
private static int my_string_handler(string *str)
{
string s;
for (x = 0 ; x str-len() ; x++)
{
if (str[x]=='+')
{
s = str-substring(0,x);
Hi Diego,
private static int my_string_handler(string str)/*no '*'*/ {
}
If possible use unichar, string.next_char, string.get_char, to
manipulate string is better than directly access the char by its
location because all strings are utf8 encoded.
StringBuilder sb = new StringBuilder();
Hi Diego,
Also have a look at:
http://live.gnome.org/Vala/FAQ#head-66eaa46cac67dfc44f5bc00929c746124e5f311d
and
http://mail.gnome.org/archives/vala-list/2008-April/msg00058.html
Best regards,
Bart
Hi Diego,
private static int my_string_handler(string str)/*no '*'*/ {
}
If