UNIX/Linux Programming - February 2009 (Page 2)

Boost Threaded Windows App Ported to Linux
 
I wrote an application a short while ago utilizing the threading capabilities provided by the Boost library. It was written for Windows, on Windows using Visual...
[5 replies] Last: In that case, I would check for race conditions in my threads. (by helios)
lock resources of remote computer
 
how can i lock the drives of remote computer(should not be accessible to any user except remote admin) running on linux.
[2 replies] Last: sorry i am new here, and dint get you, now i am clear and thank you fo... (by zius oram)
by quant
expected specifier-qualifier-list ip.h
 
Hi all, I've got this error... In file included from t.c:10: ip.h:148: error: expected specifier-qualifier-list before 'n_time' Below I posted scrap of code ...
[1 reply] : I take it this code is taken from the header file of a library. You... (by kbw)
How to get the network name using getaddrinfo()
 
Hi Guys, I am sorry in advance if this is not the right place to post this topic. Having said that, here is my problem: I am using the code below to get th...
[5 replies] Last: No. It'll try and do a look-up and fail. Thus returning you an equal t... (by Zaita)
by dash68
Modify a stringstream in-place
 
Hi, I have a stringstream that contains encoded (hex) text in the following order (breaks are for clarity only): First 8 characters: 00000007 (representin...
[3 replies] Last: I think seymore's answer is not suitable, cause 'string s( ss.str() );... (by oousee)
Program exit is delayed using pthreads
 
I have a main() that starts some threads similar to: int main() { thread t1, t2, t3; t1.start(); .. t3.start(); t1.join(); .. t3.join(); printf("do...
[1 reply] : Just to update, i did sort of resolve this problem. It has to do with ... (by tr4shb0t)
underflow with popen() and fgets()
 
Hi all! I wonder if you can give me any suggestions on how to deal with this problem. My application crashesh after a few days of looping. GDB says: ...
[1 reply] : The fgets() is executed on a stream opened with popen () Its is beei... (by Zaita)
Knoppix - Linux issue.
 
Hello. When at school, I can pop the CD in the computer and it'll run on top of windows via boot, as well as the partition on my external HDD. But, when I co...
[1 reply] : Try the Knoppix forum. (by Zaita)
API
 
I know Windows has WinAPI and I know its basics, but I know nothing about a Linux counterpart. Does Linux have an API too? And is there online documentation of ...
[1 reply] : The linux kernel API is found in section 2 of the man pages. Howeve... (by jsmith)
Ubuntu 8.10 wifi recognition
 
Hello, Everyone, I have recently installed Ubuntu 8.10 as my friend finally convinced me to do so. What I have seen I like; however, it is not recognizing my...
[1 reply] : Well, this site probably won't be of much assistance to you since your... (by jsmith)
ASCII maps? Who knows how...
 
Hi, I'm Damion, and Im new to this, I just need some help getting through to making a character able to move using the arrow keys. I have been looking this ...
[1 reply] : Well, you would have to create some sort of loop to get the character ... (by firedraco)
Creating interrupt handler to remove pipe
 
Hello, I'm using a client server example which can be found at: http://codingfreak.blogspot.com/2008/09/client-server-example-with-pipes.html I was hopi...
[1 reply] : http://en.wikipedia.org/wiki/Signal_(computing) You have to registe... (by suokko)
by MrCode
Good Linux IDE? (1,2)
 
Hello, all. As you might (not) have guessed, I'm new to all these forums. I'm a Linux n00b looking for a good development IDE for it. I've done a lot of my W...
[23 replies] Last: When I did move from windows to linux I did first use kate but then qu... (by suokko)
bad_alloc
 
In the course of my program, I am trying to allocate an array of type double and length ~20,000 elements. The program is unable to do so and throws a bad_alloc ...
[7 replies] Last: There seems to be another bug with another 20,000 element array at the... (by jwoolsto)
by sherry
What does this gdb error means
 
I've writen a section of C++ code years ago,under gcc 3.3 and use some .h of the STL.Some time ago,I compiled it under gcc 4.2 and get a segmentation fault with...
[1 reply] : .h headers for the standard library were deprecated years ago. You sho... (by helios)
Maximum # of messages on a queue
 
I am trying to determine what the maximum number of messages a queue can hold is and have written this to do so: struct parent_child_buffer receivedData =...
[3 replies] Last: There is a parameter you can set in the /proc filesystem. Something l... (by jsmith)
February 2009 Pages: 12
  Archived months: [jan2009] [mar2009]

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