UNIX/Linux Programming - March 2010 (Page 2)

Problem with Multiple definitions
 
Hello all! Im trying to have a simple function yet getting the error: multiple definition of `Assistant::getType(std::basic_string<char, std::char_trait...
[4 replies] Last: Reading the link right now, thanks Disch (by purefan)
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 libraries for which I have binaries. During linking, I get a str...
[4 replies] Last: jsmith: if I follow you, you're saying that even if the interface is ... (by funkapus)
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 something other than EXIT_SUCCESS; but these programs will ...
[7 replies] Last: Fun. (by chrisname)
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
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 should be very helpful. I have an existing client-server...
[1 reply] : https://computing.llnl.gov/tutorials/pthreads/#ConVarSignal (by kbw)
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 works in Unix C with the g++ compiling but i need it in C b...
[1 reply] : If I understand you correctly, & you just want the C version of this c... (by chris)
Automate Cisco Routers Config Backup Script
 
Hello! I need to automatize Cisco router backup - so the program will run on linux server and will login to router when scheduled and grab a config file, s...
[4 replies] Last: its not a solution, but it's a light at the end of the tunnel =) Il... (by hovrashko)
Unix OS Download
 
I'm wondering where to download the Unix OS? I want to learn hwo to work it but I keep coming across Linux & a couple others but never just Unix! Is there a p...
[8 replies] Last: FreeBSD++; although it might not be the most user-friendly. It's a gre... (by chrisname)
Comparison of file descriptors
 
Hi all, I was wondering if there is a way to determine if two file descriptors point to the same file description. E.g. if you have: #include <unistd.h...
[7 replies] Last: Ok, the answer to your question is no, you can't do the comparison you... (by jsmith)
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 of 3 integer varibles globaly in header file and using in s...
[2 replies] Last: // header.h #ifndef _HEADER_H #define _HEADER_H #include <vect... (by Galik)
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 Server 10 in 32 bit mode with Sun Web Server 7.0. I am getting ...
[no replies]
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
Null / '/0'
 
I have a dilemma. I have a main that is calling a template class. The main creates an object of some template class called X with an int and an array of char, s...
[5 replies] Last: Thanks a bunch for the help. When I had the empty parentheses it was a... (by jhoebz)
by jhoebz
Makefile including .t / template
 
Hi, I'm having trouble compiling my program and keep getting a message that my "linker input file unused because linking not done" which I'm assuming is becau...
[3 replies] Last: Thanks a lot. I just got rid of the record.o and the record.t files in... (by jhoebz)
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 an issue with finding the index of the webcam to pass when ...
[1 reply] : I believe you can find your answer in implemtation of lsusb. Please f... (by Denis)
convert is this right or wrong way
 
is this the right way or wrong way to convert? #include <iostream> #include <sstream> // std::stringstream #include <string> // std::string #include <cs...
[9 replies] Last: Looks fine to me. The only comment I have is that into.str() = ""; ... (by PanGalactic)
Wireless Concerns
 
Hello everybody! This isn't exactly a programming question, but; I have a desktop running the latest (to my knowledge) Ubuntu, and a laptop running Vista SP2. N...
[2 replies] Last: Great. Thanks. (by DeadH34d)
qn abt pthreads and casting int to void*
 
here is a partial code fragment: #include <stdio.h> #include <unistd.h> #include <stdlib.h> #include <pthread.h> #define NUM_THREADS 6 void *thread...
[13 replies] Last: It depends on what the program is doing. It may even run faster as a ... (by kbw)
problem linking header files.
 
I have a c++ program running in ubuntu. When I try executing it, the header files are not getting linked with the source code. What really can be the problem? T...
[8 replies] Last: bgpExample1.cc:6:25: error: common-defs.h: No such file or directory ... (by Disch)
Ubuntu Book
 
Hi Linux folks, Can anyone please recommend a great book to learn Ubuntu linux? There are so many books out there. Thanks.
[3 replies] Last: I know there are differences between every variant. I just don't see w... (by chrisname)
March 2010 Pages: 123
  Archived months: [feb2010] [apr2010]

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