UNIX/Linux Programming - May 2012 (Page 2)

Bash Shell doesn't work as expected - Arguments to the execvp( ) are not accepted
 
I'm building a shell for bash in C , and I try to execute simple commands , but the output of the sh...
[2 replies] Last: My friend , the thing is that the > is supposed to be one of the arg... (by david687)
Trying to use execvp in C but it fails
 
I'm trying to execute execvp() in C (I'm creating a shell for "bash" command) but after separating ...
[4 replies] Last: okay thank you very much . (by david687)
by Guyver
Multithreaded Heartbeat Timer?
 
Hi, I'm running on RedHat and I'm trying to do a "hack" job of a task in trying to make a simple ...
[1 reply] : If that's all you're doing, you don't need a seperate thread. (by kbw)
Aborted (core dumped)?
 
Alright so I have this code that compiles nicely but when it outputs I get these messages that I hav...
[18 replies] Last: void readInput (char *filename) { //DataOrganizer ifstream fin(... (by ne555)
PulseAudio
 
HI, I am new to the pulse audio libraries, and buffers, data streams, draining, flushing, and the so...
[2 replies] Last: thanks for the help! I changed around the code write a buffer of 1024 ... (by rorysmartguy)
Time Problem
 
Hi friends.I have to write a program which accepts one command line argument,executes the arguments ...
[11 replies] Last: peter i made a mistake by not putting a dot before root.Now it locates... (by Shynash21)
Quick Question: encoding in MAC
 
Brief question. I'm programming with Linux, so all my code files are in UTF-8. I'm aware of the prob...
[2 replies] Last: Great! thank's ;) (by JCaselles)
by mih
CC -O -mt -features=no%conststrings Need help with this compilation option.
 
hello , I am in process of migrating C/C++ project from Solaris 32bit to Red Hat Linux 64 bit. the o...
[2 replies] Last: Many thanks Cubbi. (by mih)
by Wandy
pthread in ubuntu 10.10
 
I wrote lines in ubuntu including the function pthread.An error raised:no referrence to the pthread_...
[7 replies] Last: No, just -pthread (or -pthreads, depending on your system). That will... (by hanst99)
Unix dig tool?
 
n this problem, we use the useful tool dig tool available on Unix and Linux hosts to explore the hi...
[1 reply] : http://linux.die.net/man/1/dig (by Texan40)
by awksed
pthread_create() fails after 382 threads
 
Hi, I have a multi-thread problem illustrated by the following snippet. My app is a server tha...
[2 replies] Last: My app is a server that listens on a socket, accepts connections and... (by rapidcoder)
Windows.h??
 
I am making a program in Linux that is designed to run in Windows. I had only started programming on...
[5 replies] Last: Wow. I'm...really surprised I didn't know that. Just tried it now, and... (by krakissi)
Functions for get user input from stdin (shell)
 
Hi What function are there in order to get user input from stdin (shell) in Linux ? Thanks in ad...
[2 replies] Last: #include <stdio.h> #include <stdlib.h> #include <string.h> int main... (by krakissi)
hello , real problem
 
my teacher want to write code in argument like this #include <iostream> using namespace std ;...
[6 replies] Last: They are both right: You are going to need atoi to get any number with... (by kooth)
A question about using new instead of malloc
 
Hello All, I have a question about the KLU library for LU factorization of sparse matrices. The ...
[3 replies] Last: I'm not aware of any. But check out if the library is aware of objects... (by ne555)
printf function is not print!
 
Hi In my code,if I user printf without "\n" character, anything is not printed . I could not find r...
[4 replies] Last: Thanks a lot for your attention. (by nima0102)
Piping, etc
 
Hello, I have a C++ code that depends on the output of a shell script, but also requires user inp...
[2 replies] Last: Thank you! popen() is exactly what I was looking for! (by alexvas)
by GNG23
crypto++:how to extract public key from x509 certificate version 1
 
how to extract public key from x509 certificate version 1 ? in my program - BERGeneralDecoder...
[no replies]
Think I need to update my compiler
 
I'm using xubuntu and I think I need to update my compiler -- its giving me a weird segmentation fau...
[4 replies] Last: g++ amazing compiler (by Aramil of Elixia)
How to debug programs from the google code repository
 
Is there a way to debug C++ projects from the google code repository. I tried all the well known ide...
[6 replies] Last: Looks reasonable to me. Those flags include debug information and turn... (by Moschops)
May 2012 Pages: 123
  Archived months: [apr2012] [jun2012]

This is an archived page. To post a new message, go to the current page.