UNIX/Linux Programming

by admin
news Welcome to this board! closed
 
Welcome to the forum for UNIX and Linux programmers in C++.com! In this forum, users can to talk ...
[no replies]
by macla
post How to get cpu utilization
 
Hi, How to get cpu utilization for solaris using c or c++ ? Any API ?
[1 reply] : You should be able to read the required info from /proc I guess... I ... (by attaboy)
by rba
post message queue problem
 
Hellow, i'm want to use a message queue; i found a example here: http://www.cs.cf.ac.uk/Dave/C/n...
[no replies]
post Simple breadth first question
 
I've got a working Binary Tree class, and a working breadth first traversal (using stl queue), but j...
[1 reply] : please don't double-post. http://www.cplusplus.com/forum/beginner/2112... (by imi)
post Question on popen
 
Hello All, Is it possible to use popen for multiple piping. Ex: If I want to achieve "last | s...
[1 reply] : No, you can't. You'll have to use dup(), fork() and exec(). (by lloydchristmas759)
by hasmik
post warning: unused variable(related with assert)
 
Hi all. I have a large code with asserts like this { bool status = func_call(); ...
[2 replies] Last: Thanks a lot. This is a 'beautiful' solution. (by hasmik)
question Problem with Multiple definitions
 
Hello all! Im trying to have a simple function yet getting the error: multiple defini...
[4 replies] Last: Reading the link right now, thanks Disch (by purefan)
question Isn't the C++ standard library backward-compatible?
 
Hi. I'm working on a 64-bit Linux system, trying to build some code that depends on third-party libr...
[4 replies] Last: jsmith: if I follow you, you're saying that even if the interface is ... (by funkapus)
post Child processes of a daemon process
 
I'm writing a daemon process to execute programs and then restart them if they exit with a status of...
[7 replies] Last: Fun. (by chrisname)
solved Port Programming
 
I am using linux. Are there any libraries or tutorials related to port programming.
[3 replies] Last: My new favorite toy for this sort of thing is Apache Qpid. It's a mes... (by PanGalactic)
by BJT
question How to use signal or something to handle async function call?
 
Hi, I'm a newbie in C++. It would be appreciated if some one could help on this. Sample code snip...
[1 reply] : https://computing.llnl.gov/tutorials/pthreads/#ConVarSignal (by kbw)
post source-code coversion
 
please i have this copy file program which i need too be converted into see to be used in Unix C. it...
[1 reply] : If I understand you correctly, & you just want the C version of this c... (by chris)
question Automate Cisco Routers Config Backup Script
 
Hello! I need to automatize Cisco router backup - so the program will run on linux server and will...
[4 replies] Last: its not a solution, but it's a light at the end of the tunnel =) Il... (by hovrashko)
post Unix OS Download
 
I'm wondering where to download the Unix OS? I want to learn hwo to work it but I keep coming acros...
[8 replies] Last: FreeBSD++; although it might not be the most user-friendly. It's a gre... (by chrisname)
post Comparison of file descriptors
 
Hi all, I was wondering if there is a way to determine if two file descriptors point to the same ...
[7 replies] Last: Ok, the answer to your question is no, you can't do the comparison you... (by jsmith)
post How to make a vector structure globaly ?
 
We are developing a C++ project with 10 cpp files and 3 header files.We are declared array structure...
[2 replies] Last: // header.h #ifndef _HEADER_H #define _HEADER_H #include ... (by Galik)
question Compiling NSAPI Plug-in in SuSe Linux using GCC 4.1.2
 
Hi, I am compiling custom web server Plug-in (it is a NSAPI plug-in) in SuSe Linux Enterprise Ser...
[no replies]
post threads and process
 
can i write in a know pipe like this form write(fdWrite, &infoUsager, sizeof(user ));
[3 replies] Last: Then user isn't what you want. You want sizeof(user)*8. (by firedraco)
by jhoebz
question Null / '/0'
 
I have a dilemma. I have a main that is calling a template class. The main creates an object of some...
[5 replies] Last: Thanks a bunch for the help. When I had the empty parentheses it was a... (by jhoebz)
by jhoebz
question Makefile including .t / template
 
Hi, I'm having trouble compiling my program and keep getting a message that my "linker input file ...
[3 replies] Last: Thanks a lot. I just got rid of the record.o and the record.t files in... (by jhoebz)
question Webcams interfacing in Linux
 
I am coding in C++ and using opencv library for most purposes to talk to my usb webcams. I am facing...
[1 reply] : I believe you can find your answer in implemtation of lsusb. Please f... (by Denis)
solved convert is this right or wrong way
 
is this the right way or wrong way to convert? #include <iostream> #include <sstream> // s...
[9 replies] Last: Looks fine to me. The only comment I have is that into.str() = ... (by PanGalactic)
post Wireless Concerns
 
Hello everybody! This isn't exactly a programming question, but; I have a desktop running the latest...
[2 replies] Last: Great. Thanks. (by DeadH34d)
post qn abt pthreads and casting int to void*
 
here is a partial code fragment: #include <stdio.h> #include <unistd.h> #include <stdli...
[13 replies] Last: It depends on what the program is doing. It may even run faster as a ... (by kbw)
post problem linking header files.
 
I have a c++ program running in ubuntu. When I try executing it, the header files are not getting li...
[8 replies] Last: bgpExample1.cc:6:25: error: common-defs.h: No such file or dire... (by Disch)
post Ubuntu Book
 
Hi Linux folks, Can anyone please recommend a great book to learn Ubuntu linux? There are so many...
[3 replies] Last: I know there are differences between every variant. I just don't see w... (by chrisname)
question Problems retrieving complete ifreq structs from ifconf
 
Hey, I'm trying to programatically retrieve certain info on my network interfaces and pack it int...
[no replies]
post ISO 8583
 
Dear ALL, Im developing a banking transaction server and I am new to c++ programming. How can...
[1 reply] : OMG.. the next banking crisis is on the way? *SCRN*. Sorry, was a ... (by imi)
question va_list has not been declared
 
When compiling some working code on Fedora 11, I am getting this error: /usr/include/c++/4.4.1/cs...
[7 replies] Last: Well in Linux va_list is typedef'd from a char*. It might not be anyth... (by chrisname)
question active queue
 
Hi All, First of all thanks for giving me the opportunity to join this forum.I am having one prob...
[3 replies] Last: I just ran across this: http://cxx-gtk-utils.sourceforge.net/index.htm... (by PanGalactic)
by qforce
post Get process ID
 
Hello, I'm new to C++ programming on Linux. Does anyone know of a method to get the id of a proce...
[1 reply] : If you want to go thru the pain of it, you could look it up in /proc (by kbw)
Pages: [1] [2] [3]   Archived months: [jan2010]

Registered users can post in this forum.