UNIX/Linux Programming - April 2009 (Page 2)

Circular static libraries
 
I get "undefined reference" errors when linking an executable from a compiled object and a slew of static libraries that have many interdependencies: obj/Co...
[9 replies] Last: I think this is exactly the problem. I'd post the compilation line, bu... (by DanielGr)
fcntl() + Blocking
 
Hi Guys, I have a quick question, I have set up a socket file descriptor to non-blocking mode using fcntl() function call. Now how do I set this back to blo...
[3 replies] Last: Just wait until you learn the wonders of poll(2). :-) (by PanGalactic)
activation of wireless lan in fedora 8
 
can any one temme the procedure for installing driver for wireless in fedora 8 i have got broadcom 802.11g
[2 replies] Last: For us to help you, give us more specific information. What I would... (by DrunkProgrammer)
Storing the output of a system command that uses an awk loop
 
Hello all you lovely people! :-) I am in the means of beginning to learn C++. I just have a quick question (and I imagine you get a lot 'debug' me questions....
[4 replies] Last: The return type of the function doesn't say anything about the data th... (by Disch)
Timer
 
I need working timer that don't interrupt anything else (so no sleep();) I found few in google, even few here, on forums, but well, some doesn't work at all an...
[1 reply] : When you say "doesn't interrupt", do you mean "won't pause other proce... (by PanGalactic)
Threading in C++
 
Hi all, I am about to use threading in a C++ application for performance reasons. I have read that Boost library (www.boost.org) and commoncpp by gnu are pop...
[5 replies] Last: I would suggest you stick to pthreads in linux. It has everything you ... (by Biju Scaria)
how to program graphics in gcc
 
can any one please tell me how to program graphics with gcc , what libraries should i use , ? unlike turbo c++ gcc does not have <graphics.h> library
[4 replies] Last: you need to learn some basic maths also to program in opengl. a couple... (by writetonsharma)
by lihle
graph programming
 
help me out guys . i have the class declared below and i need help of how to delete adjacent nodes. here i am using list and vector algorithm (stl library); ...
[1 reply] : Wtf are you talking about. (by closed account S6k9GNh0)
tool for converting c cyntax to c++ syntax
 
is ther any tool available to convert c syntax into c++ syntax
[13 replies] Last: Try to see if you find anything useful with Google http://www.google.... (by Bazzy)
by mietas
Russian (cyrilic) characters in console application
 
I need to output russian strings like "ошыбка" to console. I am using ubuntu with g++ compiler and ncurses library. maybe someone could point a tutorial t...
[3 replies] Last: UPDATE: found the answer To print unicode characters with ncursesw ... (by mietas)
Need Comments for EDCF protocol code for Network Simulator program
 
Please can any one insert comments for this part of the source code for NS-2 program that use EDCF protocol than DCF .The EDCF initiate 4 queues in each station...
[no replies]
by vijkrr
How to monitor a folder using C++
 
Hi I want to write a C++ program which has to take input as folder name and a thread should monitor that folder and it has to print the file name which is...
[5 replies] Last: It's possible you don't have FAM installed. You'll need to do that fi... (by kbw)
What's the #if and #endif stand for?
 
Hi: I dont really understand that #if and #endif stand for, for example: int main(int argc,char *argv ) { char abc = ""; int r; int b; int ...
[1 reply] : lines starting with # are for the preprocessor; #if,#else,#elif,#ifdef... (by Bazzy)
cout not working
 
I'm writing a program in C++ that has to interact with an external program, "wish" , to display the GUI. After a call to fork(), the child process calls wish wi...
[1 reply] : Sounds like you want popen2() functionality. This site provides a goo... (by PanGalactic)
Having problem with Unqualified-ID Error.
 
"Expected unqualified-id before ‘{' token" I keep getting the error for lines 13, 36 and 49. I also get the error "Expected initializer before "int" " on ...
[1 reply] : You are missing ending semicolons on two of your function declarations... (by PanGalactic)
Which version of g++ is used for compilation.
 
Lets say I have a binary/executable. Is there a way we can find out which version of g++ is used to compile this. Thanks.
[2 replies] Last: Thanks for the suggestion.. will do this on monday.. as i'm enjoying m... (by writetonsharma)
by Kiousu
Why am I getting a segmentation fault?
 
Okay, so I have a program that takes a single line of input and encrypts it, and outputs the encrypted line to a file. /* * Author: Ima Student * Date: Ap...
[4 replies] Last: Never mind, I fixed it, I changed up the main program. int main ()... (by Kiousu)
Socket Connection
 
Hi Guys, Ok, This problem really got me. What I am trying to do is, I have a client and a server program. There is a text file for a client which specifies ...
[6 replies] Last: Hi Guys, Thanks for the reply. It turns out that the problem was trivi... (by kevinchkin)
file not recognized: File format not recognized
 
Hi I am using eclipse.I got error.I am using g++ complier. ./SGConfiguration.o: file not recognized: File format not recognized collect2: ld returne...
[1 reply] : http://gcc.gnu.org/ml/gcc-bugs/2009-03/msg00177.html Seems you mess... (by closed account S6k9GNh0)
by quant
child from user, how?
 
hello everybody, I've a test programm which create child with new pid, but how ran new child from user if parent runing from root? For instanse, I need bind l...
[3 replies] Last: After you fork(), in the child process call setuid() or seteuid() (as ... (by jsmith)
April 2009 Pages: 123
  Archived months: [mar2009] [may2009]

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