Search:

Type: Posts; User: Tiger

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    1,367

    GRRRRRRRRRR

    Damn. That stuffed up so here it is again.

    http://www.mpg123.de
  2. Replies
    3
    Views
    1,367

    grr.

    Oops. Forgot I had the automatically parse urls button checked.
  3. Replies
    11
    Views
    2,471

    Govtcheez, the point is...

    >> 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...
  4. Replies
    3
    Views
    1,768

    re:

    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.
  5. Replies
    5
    Views
    1,536

    resources

    Make use of the man pages. I've heard 'Unix Network Programming' & 'TCP/IP Illustrated', both by W. Richard Stevens, are good.
  6. unix?

    If you're under *nix, you could try using readline(), although this might not be allowed.
  7. Try declaring main like so: int main(int argc,...

    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.
  8. Thread: video quality...

    by Tiger
    Replies
    8
    Views
    2,238

    fonts

    ftp://ftp.gimp.org/pub/gimp/fonts/
  9. Replies
    2
    Views
    2,044

    > i have a mysql database written in php4. ...

    > 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...
  10. Replies
    5
    Views
    2,438

    If you are trying to connect to your ISP as a...

    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...
  11. Thread: Array of ints

    by Tiger
    Replies
    8
    Views
    1,839

    Seems to work now. Thanks

    Seems to work now.
    Thanks
  12. Thread: Array of ints

    by Tiger
    Replies
    8
    Views
    1,839

    Array of ints

    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]);
    }
  13. Replies
    2
    Views
    2,914

    How about writing your own? Wouldn't THAT be a...

    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...
  14. Replies
    10
    Views
    2,664

    strings

    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...
  15. Thread: asc characters

    by Tiger
    Replies
    4
    Views
    1,332

    Alternative

    I think the actual ASCII value for '\n' is 0xa (10 decimal), so you could probably do:

    int a;
    if((a = getchar()) == 0xa) {
    blah;
    }
  16. Replies
    3
    Views
    1,078

    It is quite easy to display Windows Bitmaps (BMP)...

    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...
Results 1 to 16 of 16