Hi there,
I just started to code with the Xlib/xcb libraries, and my goal is to simply have pictures drawn on a window, for I am to make an image viewer :)
So far so good, however I noticed two...
Type: Posts; User: Bill Cosby
Hi there,
I just started to code with the Xlib/xcb libraries, and my goal is to simply have pictures drawn on a window, for I am to make an image viewer :)
So far so good, however I noticed two...
Cool thank you, I got it working with the pragma directive. :)
Hi there,
I have a question regarding structs, I have a struct with five members, 2 bytes + 4 bytes + 2 bytes + 2 bytes + 4 bytes, so this should mean my struct is 14 bytes large, the sizes of the...
It's weird, I know traced the problem to be gtk itself, if I call execvp() before the gtk_main() then it works flawlessly, when I try to call the function from within the gtk_main() (through signal...
Yes, it does, i specifically get the commands from a list of files, I got from the path variable.
The path does give "/usr/local/bin/:/bin" however sed s in /bin and acroread in /usr/local/bin,...
Hey there,
I am trying to write a runbox for linux, like in Gnome or KDE when you press Alt+F2.
The crux is, I am not sure how I can even start a program from my code base..
I tried system and...
Well, you propably mean the documentaion for the kernel? Since there is no "SDK" for Linux.
Anyways, try this http://www.xml.com/ldd/chapter/book/
Borland C/C++BuilderX is a very nice and powerfull IDE, and it's free for personal use
http://www.borland.com/cbuilderx/
Thanks to both of you, I try fgets, but my problems were because of this
char delim[] = " ";
I changed it to
char delim[] = " \n";
Thank you very much, it now works the same way as if I did
scanf("%s %s", str1, str2);
but then I must enter space to get any results.
Are there any possibilities to make it optional...
Hello everyone,
I want to read a string with scanf and then devide it into two parts with strtok by using space as the delimiter.
Well, till now I'm this far
char str[MAX_CHARS];
char...