Search:

Type: Posts; User: tjohnsson

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    0
    Views
    1,090

    Scattered font

    I have transparent background in my application and fonts are
    scattered quite badly against dark desktop backgrounds.

    I have set TransparencyKey same as my form background and
    fonts seems to use...
  2. Replies
    3
    Views
    1,759

    Oops... I tought i posted this to other forum...

    Oops... I tought i posted this to other forum...
  3. Replies
    3
    Views
    1,759

    Scattered font

    I have transparent background in my application and fonts are
    scattered quite badly against dark desktop backgrounds.

    I have set TransparencyKey same as my form background and
    fonts seems to...
  4. Replies
    11
    Views
    6,784

    Here's what my xml configs says. >xml-config...

    Here's what my xml configs says.
    >xml-config --libs
    -L/usr/lib -lxml -lz
    or if you are using xml2
    >xml2-config --libs
    -L/usr/lib -lxml2 -lz -lpthread -lm
  5. Replies
    22
    Views
    8,657

    int calc_nums (int n) { return n ?...

    int
    calc_nums (int n) {
    return n ? calc_nums (n * 0.1F) + 1 : 0;
    }


    Here something...
  6. Replies
    2
    Views
    1,116

    founds from posix.. take a look to the...

    founds from posix..
    take a look to the http://www.opengroup.org/onlinepubs/009695399/basedefs/regex.h.html
  7. Replies
    31
    Views
    6,850

    Here's something...

    Here's something for you...
  8. Replies
    5
    Views
    1,894

    Use threads.

    Use threads.
  9. Replies
    2
    Views
    3,696

    Create one callback function, connect that to the...

    Create one callback function, connect that to the every numeric button,
    while installing callback func to the button, use last parameter for passing
    string, integer or whatever you want to the...
  10. Thread: Gtk+

    by tjohnsson
    Replies
    2
    Views
    1,260

    use g_strcpy () for copying characters from array...

    use g_strcpy () for copying characters from array to other
    instead of using strtod use g_strtod () or g_ascii_strtod()
    replace sprintf to g_sprintf () and ...
    check glib manual, it tells you more...
  11. Replies
    11
    Views
    1,853

    create new array which is as long as you want and...

    create new array which is as long as you want and simply copy these characters from
    array to other.

    strncpy () helps you copy characters from array to other.
  12. Replies
    4
    Views
    1,353

    This works atleast on linux i have no idea about...

    This works atleast on linux i have no idea about "Sun unixbox" but...

    Control-C sends signal (SIGINT on linux) so we can create
    own signal handler and install it via signal (...)

    Here's...
  13. Thread: Split line

    by tjohnsson
    Replies
    8
    Views
    5,025

    sscanf(ptr, "%s%n", field, &n) Try again...

    sscanf(ptr, "%s%n", field, &n)

    Try again...
  14. Thread: Split line

    by tjohnsson
    Replies
    8
    Views
    5,025

    It's trash from your memory and it usually tells,...

    It's trash from your memory and it usually tells, there's something went wrong unless you haven't purposly done so.
    You force sscanf read after end of your initialized character array.
    and here's...
  15. Replies
    3
    Views
    2,298

    Store result before reading from it. ...

    Store result before reading from it.



    if(mysql_query(domeinconn, "SELECT domein_naam FROM table2 WHERE domein_id=3")) {
    fprintf(stderr, "%s\n",...
  16. Replies
    12
    Views
    10,255

    No you cannot use qsort for linked lists, qsort...

    No you cannot use qsort for linked lists, qsort is for arrays
    Copy your linked list to the array, sort it and rearrange your list nodes
    in order of an array...
  17. Replies
    7
    Views
    1,233

    No, unless you haven't initialized it point to...

    No, unless you haven't initialized it point to NULL.
    uninitialized pointer value can contain anything in it's value context and
    initialized pointer has its value as long it's value is changed to...
  18. Replies
    9
    Views
    7,036

    Sure, it's possible, what isn't with C. this is...

    Sure, it's possible, what isn't with C.
    this is not so good practice and i'm
    quite sure, you find usage of pointer to pointers
    much more efficient than this one.



    void
    my_alloc (char...
  19. Replies
    5
    Views
    1,677

    :D No problem, that would be nice feature and...

    :D

    No problem, that would be nice feature and who knows maybe that becomes to standard someday...
  20. Replies
    5
    Views
    1,677

    :D Yes you can have nested functions if your...

    :D

    Yes you can have nested functions if your compiler supports it !
  21. Replies
    2
    Views
    3,496

    There's tcgetattr (...) what you can use to get...

    There's tcgetattr (...) what you can use to get serial configuration...
    "man termios" gives you more information about it and there's
    Serial-Programming-HOWTO in tldp.org... :D

    If your...
  22. Replies
    3
    Views
    22,339

    stray '\223' You have this character on your...

    stray '\223'

    You have this character on your source code and compiler warns you about it.
    It's usually shown as blank space but some Editors shows it with red background
    or how their behaviour...
  23. Replies
    22
    Views
    3,605

    on 'while ((c=getchar( )) != '\0')' change '\0'...

    on 'while ((c=getchar( )) != '\0')'
    change '\0' to '\n' and try again.
  24. Replies
    3
    Views
    5,697

    freopen( ... )

    freopen( ... )
  25. Replies
    9
    Views
    1,652

    #include using std::cout; using...

    #include <iostream>

    using std::cout;
    using std::endl;

    int
    main ( void ) {
    int asterixes = 1;
    int spaces = 5;
Results 1 to 25 of 73
Page 1 of 3 1 2 3