Search:

Type: Posts; User: winch; Keyword(s):

Page 1 of 5 1 2 3 4

Search: Search took 0.16 seconds.

  1. Replies
    6
    Views
    2,996

    Re: Carbon API for Linux?

    http://en.wikipedia.org/wiki/GNUstep
  2. Re: Licencing question about linking to LGPL library with GPL changes from Debian

    As long as you are not developing against the GPL version and are not distributing it then I don't see how you have a problem.
    Allowing users to replace the LGPL libs your program uses with their...
  3. Replies
    6
    Views
    1,922

    [SOLVED] Re: serious issue with sqlite, help!

    No, SQL already uses the "," character.



    sqlite> select 4,2 + 5,3;
    4|2+5|3
    4|7|3


    Using the same character for different things when it is impossible to work out which to use clearly...
  4. Replies
    10
    Views
    1,292

    Re: How to write a USB keyboard simulator?

    You could possibly use the parallel port on the source computer to emulate a ps/2 keyboard plugged into the target computer.

    I doubt usb is possible without a microcontroller.
  5. Replies
    8
    Views
    3,048

    Re: QT 4.5 + LGPL - closed-source possibility?

    There is no problem with static linking if the user can replace the statically linked LGPL libraries.
    One way to do that is to supply the .o files for the program so the user can relink it with a...
  6. Replies
    6
    Views
    1,639

    Re: [C] memory leaks in recursive functions

    There are a few issues I can see.

    In main() this malloc is lost.

    dest = (char *)malloc(1*sizeof(char));

    As later on dest is replaced by the return from reverse()

    dest = reverse(src,...
  7. Replies
    22
    Views
    1,341

    Re: g++ -Wall "my.cpp" -o executable ?

    The make equivalent to that build script is only two lines.



    CXXFLAGS = -Wextra -lm

    test:
  8. Re: What's static variable/function outside a function (in C)?

    It's used to limit the scope of a global to the file it's declared in.

    Google for "c storage classes" for more info.
  9. Replies
    12
    Views
    1,474

    Re: GNU Autotools - why still use it?

    I've only used scons once and it was a pain. It looked for and installed libs in /usr/libs64 on 64bit systems yet the distro I was using used the normal /usr/lib dir. This meant patching the...
  10. Replies
    16
    Views
    22,290

    Re: Completely deleting a variable in C?

    A static variable is just a global variable that is limited in scope. So they end up in the .data section of the executable along with other globals.

    Variables created on the stack when a function...
  11. Thread: sqlite problem

    by winch
    Replies
    6
    Views
    636

    Re: sqlite problem

    sqlite meta commands shouldn't be terminated with a semicolon. I don't know what you should use when separating them when passed as a sql string.

    One work around would be to use the -separator...
  12. Thread: Python maps?

    by winch
    Replies
    9
    Views
    939

    Re: Python maps?

    The Openstreetmap project provides a name finder service. At the moment they will also let you use there map tiles in a desktop app.

    I'm not sure how practical it is to use the other map apis in a...
  13. Replies
    7
    Views
    1,937

    Re: Learn C++ over Python

    The pmasiar cycle.

    1. Make "untenable" pro python posts in threads where they are almost completely off topic.

    2. Get called on above posts.

    3. Tread carefully for a while only recommending...
  14. Replies
    13
    Views
    1,924

    Re: Converting int to char

    http://www.cplusplus.com/reference/clibrary/cstdlib/itoa.html
    Should give you enough to get going.

    Also,
    char *mynumasstr;
    gets you a pointer to char. Since you don't initialize it it could be...
  15. Replies
    37
    Views
    1,488

    Re: hardware programming.

    While c/asm are well known for shielding the programmer from their mistakes and holding back the hardware.
  16. Replies
    4
    Views
    786

    Re: Partial open-source - worth it?

    If nobody can build the source but you what is the point in making it open source?
  17. Re: How to make Ruby work with Tk ( Ubuntu 8.04) ?

    You probably also need libtcltk-ruby
  18. Thread: C# or Java

    by winch
    Replies
    36
    Views
    2,255

    Re: C# or Java

    Using that logic you can just as easily do this.
  19. Re: Subversion checkout within existing working copy of another repository

    Take a look at svn externals.

    http://svnbook.red-bean.com/en/1.0/ch07s03.html
  20. Replies
    24
    Views
    1,466

    Re: Speed Image Processing

    I think the difference in response time between a cache hit and miss could be a bit of a problem here. Users are "flipping through images like pages in a book". Their experience is going to be much...
  21. Re: POSSIBLE?? dynamically allocate memory for a string set to the size of that strin

    realloc allows you to increase the size of a block of memory allocated by malloc.

    So you can malloc a small buffer. Then every time you fill it use realloc to make it bigger.
  22. Re: how can I man an object static in PHP?

    Use isset to make sure the variable is not set before assigning a new object to it.



    if (!isset($_SESSION['user_tim']))
    {
    $_SESSION['user_tim'] = new CabUser();
    }
  23. Replies
    6
    Views
    422

    Re: Anyone know any mobile source code?

    openmoko?
  24. Replies
    12
    Views
    701

    Re: As usual... PHP Hates me

    if (!isset($_SESSION['session'])

    || $_SESSION['session'] !== false)
    require('ext_auth.php');


    I believe the problem is here. You only try to insert to the db if $_SESSION['session'] is not...
  25. Replies
    4
    Views
    365

    Re: Localhost Modification.

    Take a look at the mod_autoindex documentation.
    http://httpd.apache.org/docs/2.0/mod/mod_autoindex.html

    In particular the HeaderName and ReadmeName directives.
Results 1 to 25 of 115
Page 1 of 5 1 2 3 4