someone know how can i configure the "-lpthread" option in eclipse ?
(im working with c++ MANAGED PROJECT)
thanks !
Type: Posts; User: mystic-d
someone know how can i configure the "-lpthread" option in eclipse ?
(im working with c++ MANAGED PROJECT)
thanks !
sorry for my noob question, but how im doing this ?
thanks !
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>...
i tryed all the macros and cant get it work...
any help will be aperciated...
thanks !
i was set status to be zero before the "waitpid" and afterwards its have the value: "65280".
(but i want to get "-1"..)
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)
{...
thanks !
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...
im using the program "OLLYDBG" that cant trace the code without get the GS flag off.
i cant get it to work, maybe some1 know the syntax ?
im using MSVC++ and i want to turn off the /GS flag, how can i do this ?
thanks !
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+"...
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+"...