UNIX/Linux Programming - October 2010 (Page 2)

Communication between two applications
 
Hello all, I have two applications. One is a File Explorer and the other is a File Search application. Both work great independently. I would like to be ab...
[2 replies] Last: What operating system and desktop environment is this for? (by PanGalactic)
Why use char placeholder[0] ?
 
Hi all: I read a book on linux networking internals,which declares a data structure below: struct abc { int age; char* name ; ... char placeho...
[3 replies] Last: Typically it is a C way of saying that an arbitrary number of bytes fo... (by jsmith)
by balteo
boost::thread_resource_error
 
Hello, I am encountering the following error: ********************************** terminate called after throwing an instance of 'boost::thread_resource_e...
[1 reply] : I haven't looked into boost's thread groups, but have you tried to rem... (by kfmfe04)
by balteo
pthread and concurrent programming under ubuntu
 
Hello, I would like to know what is the best way to develop concurrent applications in C++ under linux. I don't know whether to go for the Boost library of d...
[4 replies] Last: I see... thanks, J. (by balteo)
by Monito
Need a replacement for form (stream.h)
 
I would like to replace the " form " function so I can use the latest linux compiler, here is an example: data = centerTxt(form("%1d:%02d:%02d", hour, min, se...
[no replies]
fork question using c lang, on linux
 
Hi I am new to this form and I was wondering If somebody can help me with a question I have and here it is: Write a C program to create 20 child processes fo...
[1 reply] : You are probably using NPTL (New Posix Threads Library) as opposed to ... (by jsmith)
shared object problem
 
Hello all, I'm writing a program that uses (one at a time) many similar objects based on a common one with some data/functions overwritten. I thought that wo...
[1 reply] : well... in case someone is interested in the solution, this how-to cle... (by nemobluesix)
DB2 7.2 connection from AIX
 
Hi, I want to try to connect to a DB2 (MVS) database from an AIX, through my c++ custom program. Is anybody who knows how can I do this? Which libraries sho...
[no replies]
Directory Information
 
Hello, I am wondering how I would go about finding out the last modification date of a directory on a linux system. I use the Qt Libraries with c++. Qt allo...
[1 reply] : Use the Boost Filesystem library. http://www.boost.org/doc/libs/1_3... (by PanGalactic)
Asynchronous Serial I/O
 
Folks, This is my first post here. I am trying to configure a serial port under Ubuntu 10.04 to performer asynchronous serial I/O. The idea is to use the ...
[4 replies] Last: http://en.wikipedia.org/wiki/SIGPOLL According to the above Wiki si... (by bear820301)
Pipe & Fork problem :(
 
Hi, I'm kinda new to multithreading in general, but I know the basics. In the code below I'm trying to send some messages between the child and the parent, but...
[2 replies] Last: Thank you :D (by madflame991)
Thread safe Pro C++ : Required
 
Hi All, I have a assignment to write a thread safe Pro C++ program.The requirement, 1.There is a table name A contains the records to process. 2...
[3 replies] Last: I think you need thread pool too. You'll need to define your unit ... (by kbw)
how to read a binary file from a path?
 
Hello all, just wondering if you can help me out here? I was given a specified path which i need to open in binary and put it into an array. /home/turing/a...
[2 replies] Last: I'm not really sure what you think this does: #include "/home/turi... (by Galik)
Scripting Security Question
 
In an effort to adapt to best security practices, it has been suggested that a number of scripts that are going to be distributed to multiple machines across an...
[2 replies] Last: Editing the files should be pretty simple. Just a sed script ought to... (by jasondj)
C++ HTTP server
 
I'm searching my ass of for a C++-based HTTP server that just simply works and isn't very complex and is easy to setup. I tried FastCGI, but I couldn't get e...
[10 replies] Last: Try tntnet (http://www.tntnet.org/). And sorry for the duplicate post.... (by tntnet)
by Uni616
Edit:
 
Edit:
[3 replies] Last: If a bathroom administrator is added, I guess one mutex is enough to f... (by b2ee)
Mac gui root login
 
Anybody know an api for MAC OS X to execute root login for a GUI Program?
[3 replies] Last: My intentions are if I have a program that need to modify or access a ... (by codecaine)
by yman
Font drawing
 
Hi! I'm working on my own graphics library working directly with frame buffer. I already have some useful functionality, now I'd like to add font drawing....
[2 replies] Last: Ok, this looks very good, I just don't see the tutorials, but I hope t... (by yman)
Threadsafe NCurses
 
Anyone have experience making NCurses thread-safe, say with pthreads? I could wrap the entire library in one giant mutex, but I'd like to go with finer granu...
[12 replies] Last: Hmm... ...this is kind of a funky case where you are defining a tempor... (by kfmfe04)
by kicchu
best way to implement
 
hi wanted to implement string substitution? for eg: Cplusplus forum is %d great forum the %d to be replaced by world and there can be other tokens als...
[4 replies] Last: http://www.cplusplus.com/reference/clibrary/cstdio/sprintf/ (by Bazzy)
October 2010 Pages: 123
  Archived months: [sep2010] [nov2010]

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