Posts by bkira • 53 points
3 posts
-
1
votes2
answers783
viewsQ: How to pass a . sh file as parameter to a C code?
I need to pass a file with extension . sh . I have tried it as follows and the value that is read from the file is wrong: . /program . /file.sh How do I get this argument through? Do I need to add…
-
2
votes2
answers2111
viewsQ: Use of pthread library in windows environment
Is it possible to work with the pthread library normally in a windows environment? Or should it only be in linux?
-
2
votes1
answer1494
viewsQ: Remove odd numbers from a stack
In C how is it done to remove only odd numbers from a stack? I was thinking of removing item by item and moving to an array, but the stack size is not given.