UNIX/Linux Programming - October 2008

by alice
dlsym() not finding symbols
 
Hi, I've just been playing around with dlopen() and dlsym() , and run into a problem. dlopen() apparently loads the shared library without any trouble...
[5 replies] Last: I'm not aware of any. cxxabi.h defines the demangle function, but n... (by jsmith)
by lipune
unix command
 
Is there any command to know which shell u r currently working and how to shift between k shell to c shell ,like wise
[2 replies] Last: echo $SHELL will give you the current shell you are working with. Als... (by nagubadi)
HOWTO : Validating of XML with XSD
 
Hi,I was wondering if there is a way to do validation of XML file with XSD using C++? Any advice would be a great help! Thanks! Regards, Lionel
[no replies]
threads, signals, and queues
 
Hello, I have been searching around for some information about a problem I have been having but haven't been able to find anything or I can't figure out how to ...
[2 replies] Last: Thank you for your reply. I did look into the pthread_sigmask but c... (by BrianM25)
Sockets over the 'net.
 
hello, im need to know must i do to "talk" to the server as shown below. Client (192.168.1.200) --> router (123.123.123.123) --> Internet --> router (210.2...
[4 replies] Last: Unfortunately I don't know how you will get the IP/port you need. The... (by jsmith)
Problem with Shared Memory
 
Hi, I have been trying to implement shared memory using C++ in Linux (Ubuntu) and there is a problem that I have been unable to solve for one week. Ok thi...
[no replies]
How to use select() with sockets
 
I have this project where I have to open several sockets to see if a range of ports are open/close. I am opening the sockets but I don't understand how to apply...
[1 reply] : Sockets are just file descriptors, so use select() like with any file ... (by Daper)
wish to learn unix
 
Hello friends i wish to learn unix from scratch including shell scripting.I am basically an electronics engineer so no idea about it.can anybody suggest me ...
[5 replies] Last: Opensuse is a great distro for linux noobies. If you use the gnome ver... (by Cerburos)
by ljshap
List of running applications/programs
 
Is there a way to get a list of running applications (not processes) in C++. I tried experimenting with ps from bash, but can't figure out how to select ...
[4 replies] Last: Just don't give up, and good luck :-) Thanks for your encoragem... (by ljshap)
How to work with system calls in linux using C++
 
Hello, I am doing this program where I am using system("ping hostip"), instead of displaying the ping info I want to store rather the host is reachable or not....
[4 replies] Last: Also, if you are looking for a way to just read the output of the syst... (by justind)
trying to make a script to go thru multiple files and pull out #'s
 
ok i have a folder with many files with different names and am trying to figure out how to make a c++ script to go through them all and pull out some numbers fr...
[1 reply] : Is there any reason not to use find & sed? If there is, read the di... (by exception)
to make "read()" no return until read all the bytes requiered
 
Hello, I have one application that reads and writes from the serial port. Sometimes the function read(): "read(fd,buffer,numbytes)" returns a number < nu...
[1 reply] : Why don't you just write a wrapper function for read that doesn't retu... (by jsmith)
Segmentation fault outputting dynamic array
 
#include<iostream> #include<string> using names...
[2 replies] Last: You are walking past the end of your cName array inside your first whi... (by jsmith)
Eclipse Debug Stepping is Madening!!!!
 
Okay, I'm at a complete loss here. I'm using eclipse/c++ to write and debug some code. I set a breakpoint.... fine. Execution stops there. The problems come whe...
[3 replies] Last: Please don't make multiple topics regarding your issue. Your issue ... (by Zaita)
reg- simulating task using c++ threads on Linux platform
 
Hi all, I want to implement scheduling algorithm using C++. I don't know how to simulate a task set using threads in the Linux platform for the multicore proc...
[1 reply] : http://www.boost.org/doc/libs/1_35_0/doc/html/thread.html (by Zaita)
Regarding Shared Memory
 
Hello, I want to use shared memory to write/read in a map. Can anyone guide me through a sample code. Thanks Deepak
[1 reply] : http://www.ibm.com/developerworks/linux/library/l-syncevent.html?ca=dg... (by Zaita)
How to detect usb storage arrival and its mount path from C
 
Hi, I am a newbi to linux, i wana to write a program in C that can detect arrival of a usb flash memory. I want also to find the actual mount point of new inse...
[3 replies] Last: English please. And yes, that other question is debatable. However,... (by Zaita)
How to enumerate USB Mass Storage devices?
 
Hi all, I want to write a program in C that can enumerate all USB massand their mount point storage on my system. i want to give ability to copy one file to de...
[no replies]
Send random numbers as udp
 
Hi! I am kind of a newbie programmer that just got stuck on a problem and hope for a bit of help. I am making a program that should generate random values for...
[no replies]
by ppmim
System call and DMA blocking
 
Dear programmers, I have a problem concerning with the 'system' call. I am developing an application (APP1) that handle a data acquisition card which make u...
[1 reply] : Yes, there is the exec*() family of functions, but system() more than ... (by jsmith)
October 2008 Pages: 12
  Archived months: [sep2008] [nov2008]

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