Damn. That stuffed up so here it is again.
http://www.mpg123.de
Type: Posts; User: Tiger
Damn. That stuffed up so here it is again.
http://www.mpg123.de
Oops. Forgot I had the automatically parse urls button checked.
>> I'm really waiting for people to start actually paying for it, then we'll really see companies developing power apps and games for Linux.
>That would kinda defeat the pupose of Linux...
Making the application open source helps. This takes some of the work off the author, and lets others provide feedback and ideas the author may not have thought of. It's also a good way to advertise.
Make use of the man pages. I've heard 'Unix Network Programming' & 'TCP/IP Illustrated', both by W. Richard Stevens, are good.
If you're under *nix, you could try using readline(), although this might not be allowed.
Try declaring main like so:
int main(int argc, char **argv)
If argv[1] is not null, use argv[1] as the file naame to read.
ftp://ftp.gimp.org/pub/gimp/fonts/
> i have a mysql database written in php4.
AFAIK, MySQL was written in C. MySQL _databases_ are not written in anything, technically.
> i cna add, modify list etc very nicely. I have 4 feilds...
If you are trying to connect to your ISP as a normal user (i.e. not root), then you may need to make pppd suid. Try this (as root):
chmod +s `which pppd`
It would also help if you posted error...
Seems to work now.
Thanks
Does anyone know how to pass an array of ints to a function?
i tried
int a[2][2] = { {1, 2}, {3, 4} };
function(a);
void function(int **a) {
printf("%d\n", a[1][1]);
}
How about writing your own? Wouldn't THAT be a novel idea?
You could try a simple bubble sort on the array by testing the first character of each element.
e.g.
char array[4][4];
char...
You should check out malloc(), calloc() and friends. You might be able to try something like
char **str_array;
str_array[0] = (char *) malloc(10);
to make the first string in str_array a...
I think the actual ASCII value for '\n' is 0xa (10 decimal), so you could probably do:
int a;
if((a = getchar()) == 0xa) {
blah;
}
It is quite easy to display Windows Bitmaps (BMP) in DOS. I think this is outlined in the FAQ, which you should read if you haven't. Here is some code which might help (attached). You will have to...