UNIX/Linux Programming - May 2010 (Page 2)

current UPC time and timeval
 
Hi, I receive a message with a field of timeval, which is UPC time. I would like to get the time of today at 12:00:00 am in the format of timeval so I can ca...
[1 reply] : Do you mean UTC? http://en.wikipedia.org/wiki/Coordinated_Universal_Ti... (by PanGalactic)
by amma
Question about dynamic libraries
 
Hello, I have been writing a medium sized program using netbeans IDE. In early phases, code reuse was kept to a minimum. Any time I had to reuse a class I ju...
[1 reply] : Template instantiations are generated on demand. If you never use a t... (by kbw)
by pigre
C++ socket thread, concurrent server/client
 
Hi all; Im writing a concurrent server that's supposed to have a communication channel and a data channel. The client initially connect to the communication...
[3 replies] Last: Reading through your post again it looks like your data server is bein... (by Galik)
inputing a file to a c++ program
 
So say I have a program called detect_cycle.cpp Then I compile it and name it detect_cycle Then from my unix terminal I type: detect_cycle < data_file ...
[1 reply] : Since the clone thread in the Beginner's forum got a reply first: htt... (by Albatross)
by Sink0
Launch application with RS-232 message
 
Hi i am using a PC104 with Linux and i need to control it with a controller that is connected via RS-232 or USB port. I need to launch one or more application s...
[no replies]
by Deluge
Understanding Shared Libraries (Win vs. Lin)
 
From what I understand about shared (dynamically linked) libraries on Windows: First an executable will search its own directory for the library. If it is not...
[3 replies] Last: Well, it's no big deal either way. I'm totally happy to put my libs i... (by Deluge)
by teto
no matching function
 
Hello, I get this error, error: no matching function for call to ‘A::a(std::string&)’ note: candidates are: static D* A::a(std::istream&) I am cal...
[2 replies] Last: You are right. the mismatch came from string and istream classes. ... (by teto)
compilation error, missing headers
 
Hi everyone I need help ! I am going to use the GNU Multiple Precision Arithmetic Library ( http://gmplib.org/ ) and its C++ class interface. I'm using ubu...
[1 reply] : If you want to install this (or anything) into your home directory you... (by Galik)
UML tool for Anjuta
 
Hello, I'm a beginner in Anjuta and C++. I searched a lot but I didn't find the UML tool for Anjuta.( but searching the web I found it has this capability) ...
[1 reply] : try here: http://case-tools.org/ if not there try here: http://en.wiki... (by alud)
by jhoebz
"*&"
 
int *&x int *y is there any difference between these two variables?
[2 replies] Last: thanks alot Galik! (by jhoebz)
Shared Memory and Semaphores
 
I was writing a code and strangely I am getting some unexpected answer. #include <assert.h> #include "Semaphore.h" #include "SharedMemory.h" using na...
[2 replies] Last: Hi Albatross, Well the problem was that the second shared memory se... (by rachitagrawal)
by Deluge
Dynamically Linked Executable Larger than Static
 
I have used the tutorials from the following pages: http://ehuss.com/shared/ http://www.network-theory.co.uk/docs/gccintro/gccintro_25.html http://www.adp-gm...
[1 reply] : I was doing something wrong, I don't know what, but now my statically ... (by Deluge)
Functions and Object Files C++ will NOT Compile
 
I have a project I'm coding in C++ with the OpenCV library. I want to separate the project into (right now at least) 6 files. I have xPush.cpp xPush.h ColorPick...
[3 replies] Last: Thank you both. My solution was to take the function specific declarat... (by KonaRurrik)
A C++ exception causes a ABORT signal
 
Hello C++ developers, Context: program written in C++ and run under Linux 1) I ignore the ABORT signal by using the "signal" primitive ==> signal(...
[9 replies] Last: I'm not using open source libraries but it's same. I have a library... (by papypapa)
how to get the ip address of my own machine?
 
I am writing a program and I need to get the ip address of my own machine, how do I do it? preferable for it to be IPv6
[5 replies] Last: Which one? You probably have localhost, firewire, wifi, and atleast o... (by unregistered)
SDL Open Source Game (1,2)
 
Hello, Does anyone here know a bit of SDL ( doesn't matter how much ) and have time to make a game? i am working on one right now, but i want a partner to sp...
[21 replies] Last: @jinjin12, ok, awesome. email me at ed_22000 <at> hotmail.com (by closed account y8h7M4Gy)
<iostream>, related linker error (g++)
 
Hi All, I need help to figure it out!Please Help !!! I am getting following linker errors using g++ and ld (Using GNU/Linux) ***`__static_initializat...
[10 replies] Last: Are you sure your compiler is installed properly? On my system: />... (by jsmith)
by GnG
XML API
 
Hi guys, I'm trying generate a xml file with C++ but I'm having problems to find a good API, can anyone indicate some good for me. In Java I use XStream, I'd ...
[5 replies] Last: Maybe Xerces? http://xerces.apache.org/xerces-c/ (by Galik)
Problem with resourcess... not surely
 
Hi All, I am writting some application on embedded device, that has to use mplayer. I want to call mplayer by using system() call, which seems the easiest. H...
[2 replies] Last: Thank You for being concerned :) Can you run mplayer from the cons... (by Krzysztow)
g++ 4.4 compile error
 
Hi there. I´ve been trying to compile a third party software in Ubuntu (9.10) using g++-4.4. The code worked fine in older versions of Ubuntu (which used older...
[2 replies] Last: Hi Galik I did work, I mean, it compiles with some warnings but tho... (by Darkblood18)
May 2010 Pages: 123
  Archived months: [apr2010] [jun2010]

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