No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
6 Posted Topics
Hello I get 'segmentation fault' at seemingly random places when reading from a file = running getline(*stream, stringLine). Running Rational Puify I get the info: Invalid Pointer Read: Reading 655816 bytes from 0xfefa846c between the heap and the stack (342896 bytes at 0xfefac490 illegal). I guess that the stream pointer … | |
Has anyone used GMarkupParser to parse a simple xml-file? If so, how do I use g_markup_parse_context_new () and g_markup_parse_context_parse ()? The Glib manual is completely incomprehensabel. To clearify, what I am looking for is a bit of code so I can understand how to parse an xml-file. Can anyone help … | |
Hello Trying to fetch a part of a string with g_regex_split. The string may look like: `"9999 00 00 CC 03 00 CC 00 00 'xxx'"` What I want is to remove everything except: `00 00 CC 03 00 CC 00 00` My idea is (since there is no get_this_part_of_string … | |
If I want to make a method to return an object's type, what type should the method return? A string, the object itself? Any suggestions? | |
Hello! Trying to use regexp in glib but I cannot get it to work. I would like to have a regular expression to describe: [2003-03-11 13:14:12.111] letters letters.:1234 Hello I have tryed the following expression in 'regular expression testers' and there this works: ^\[\d{4}\-\d{2}\-\d{2}\s\d{2}\:\d{2}\:\d{2}\.\d{3}\]\s\w*\s*\w*\.+\w*\:\d{4}\sHello But not with glib's regexp. Why … | |
When trying to run my application it says it needs "libglib-2.0-0.dll" to run. The file is in\glib-2.14.6\bin but I don't seem to be able to link to it. I am using Eclipse so I have tryed setting MinGW C++ Linker -> Libraries->Library search path (-L) to "C:\glib-2.14.6\bin" and Libraries (-l) … |
The End.