UNIX/Linux Programming - October 2009 (Page 2)

by tition
code::blocks how do I make the IDE jump to the line of error
 
Hi all, Sorry for the totally newbie question, but how do you make the Code::blocks IDE for ubun...
[1 reply] : You just need to click on the error message in the 'build messages' bo... (by Bazzy)
by rajnp
getting terminals of unix
 
Hi i need to get the terminals that are connected to my unix box in a c program. with ttyname...
[1 reply] : The nice thing about open source software is that there are plenty of ... (by PanGalactic)
by ImagE
Stack - Segmentation Fault
 
Hi . I'm new here . I hope I can find some tips . I read about a library called <stack> . It's...
[2 replies] Last: I fix it . :"> (by ImagE)
by bobez
udp compositing binary data for sending.
 
I am trying to composite binary data to send in a message via udp, in a linux environment. I am u...
[1 reply] : sendto() just takes a pointer to a block of data and a length of the b... (by jsmith)
Compiling in Linux
 
I am new to linux and know nothing special about it. I download a simulation software Hegans . In th...
[1 reply] : Copy and Paste the files in a directory. Add a project in your IDE and... (by Bazzy)
by schliz
Zombie
 
I fork and use execl to overlap a program. Now I would like to kill the program which is executed by...
[1 reply] : You must reap the return code from the child process. A process in th... (by jsmith)
socket programming
 
I have succeed in compiling the below code for creating a client application: #include <sys/types...
[3 replies] Last: What you've written is typically referred to as a server application... (by jsmith)
Parent Processes
 
In the below code, I ran and the output gave me 0 for Line A 26111 for Line B 26111 for Line C ...
[3 replies] Last: No. Read my post above again, and then look what variable each line i... (by jsmith)
Compiling Shared Libraries
 
I've just finished writing some C++ classes. I've written some test cases to test them and everythin...
[5 replies] Last: Thanks, JCED! I appreciate it. I'll admit I'm no guru when it comes... (by byuhobbes)
by sever
Char** to std::vector<std::string>
 
Hello, I was googling without success to find the "canonical" way to transfer values from char** ...
[3 replies] Last: Not really, when you have an array in a pointer you should know the si... (by Bazzy)
by mamali
a question about boost thread
 
hi everyone i want to write a multithread program with libboost_thread but the problem is that it o...
[2 replies] Last: Newer versions of the Boost Thread Library permit this without using b... (by PanGalactic)
Trouble understanding Parent and Child Processes
 
I need help understanding how to get the following answers. Please note that these are review questi...
[1 reply] : On the first, I'm not sure. Forking copies the parent and child proces... (by chrisname)
Compiling 64-bit programs
 
I'm using Visual C++ Express Edition. But I'm working on a cross-platform project, so I'll need to t...
[5 replies] Last: IIRC g++ is almost exactly the same as gcc but automatically links the... (by chrisname)
input a filename into a stream while file manipulation
 
How can i input a filename when the program asks for the specific filename that is in another folder...
[no replies]
question about mutex initialization
 
Hi, For mutex, I normally initialize it before using it as pthread_mutex_init(&mutex, NULL); ...
[3 replies] Last: pthread_mutex_t, at least in my implementation (POSIX defines it as an... (by jsmith)
October 2009 Pages: 12
  Archived months: [sep2009] [nov2009]

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