Search:

Type: Posts; User: mystic-d

Search: Search took 0.01 seconds.

  1. Replies
    6
    Views
    5,830

    someone know how can i configure the "-lpthread"...

    someone know how can i configure the "-lpthread" option in eclipse ?
    (im working with c++ MANAGED PROJECT)
    thanks !
  2. Replies
    6
    Views
    5,830

    sorry for my noob question, but how im doing this...

    sorry for my noob question, but how im doing this ?
    thanks !
  3. Replies
    6
    Views
    5,830

    working with threads

    hey
    im running on linux (fedora) and im tring to run this code :


    #include <pthread.h> /* include file for pthreads - the 1st */
    #include <stdio.h>
    #include <stdlib.h>
    #include <string.h>...
  4. Replies
    9
    Views
    9,351

    i tryed all the macros and cant get it work......

    i tryed all the macros and cant get it work...
    any help will be aperciated...
    thanks !
  5. Replies
    9
    Views
    9,351

    i was set status to be zero before the "waitpid"...

    i was set status to be zero before the "waitpid" and afterwards its have the value: "65280".

    (but i want to get "-1"..)
  6. Replies
    9
    Views
    9,351

    get the status of the child process

    i want to get the status of child process (when execvp is failed) in the father process so im useing the next code: (im programming on linux)


    pid=fork();
    if(pid==0)
    {...
  7. Replies
    2
    Views
    3,137

    thanks !

    thanks !
  8. Replies
    2
    Views
    3,137

    open empty file

    hey
    im programming in c under linux , and i want to open a new EMPTY file , im using the "open" system call . this is my code:

    fd=open(filename, O_WRONLY | O_CREAT);

    but this open me the...
  9. Thread: /gs flag

    by mystic-d
    Replies
    5
    Views
    1,989

    im using the program "OLLYDBG" that cant trace...

    im using the program "OLLYDBG" that cant trace the code without get the GS flag off.
  10. Thread: /gs flag

    by mystic-d
    Replies
    5
    Views
    1,989

    i cant get it to work, maybe some1 know the...

    i cant get it to work, maybe some1 know the syntax ?
  11. Thread: /gs flag

    by mystic-d
    Replies
    5
    Views
    1,989

    /gs flag

    im using MSVC++ and i want to turn off the /GS flag, how can i do this ?
    thanks !
  12. Replies
    1
    Views
    1,324

    rewrite to file

    i want that my prog will rewrite (update) to exsist file if it was found a string im searching for inside this file, so i did this:


    fptr=fopen("data.txt","r+"); // i also tried "a+"...
  13. Replies
    1
    Views
    2,318

    rewrite to file

    i want that my prog will rewrite (update) to exsist file if it was found a string im searching for inside this file, so i did this:


    fptr=fopen("data.txt","r+"); // i also tried "a+"...
Results 1 to 13 of 13