Search:

Type: Posts; User: abc_coder

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    1,431

    i see - it's only an issue of 'proper c++ coding'...

    i see - it's only an issue of 'proper c++ coding' (cleaner namespaces and stuff). still, better leave the lazy coding habits for any leftover windows sessions - linux is about kickass stuff ;)
  2. Replies
    2
    Views
    1,730

    Re: help about compilation error

    #include <sys/mman.h>
    #include <sys/types.h>
    #include <sys/stat.h>
    #include <stdio.h>
    #include <unistd.h> i
    nt main(int argc,char** argv)
    {
    int i,fd;
    struct stat st;
    ...
  3. Re: Re: Re: How to prevent exiting from running program

    yeah, SIGTSTP (sorry for the typo).

    however, Ctrl-\ may send either the Posix "Quit" (SIGQUIT) or the Ansi "Abort" (SIGABRT) - it's terminal-dependent.
  4. Replies
    5
    Views
    1,257

    Re: not resonding

    skill -9 netscape

    "-9" may be needed if it doesn't stop without it :D
  5. Re: How to prevent exiting from running program

    all you can do is catch a bunch of 'allowed' signals:

    stopping (sort of ;) ):
    SIGINT (Ctrl-C)
    SIGABRT(Ctrl-\)
    SIGTERM
    SIGHUP

    pausing:
    SIGSTP (Ctrl-Z)
  6. Replies
    5
    Views
    1,431

    Re: Re: Compile error

    or, if you do, use <cstdio> (and, as mentioned, <iostream> - the ".h" version is obsolete) and be careful about synchronization between the 2 streamsets ;)
Results 1 to 6 of 6