UNIX/Linux Programming - June 2009

by lipune
core dump
 
Hi what is core dump and segmentation fault.in which condition these two are found.whats the met...
[1 reply] : segfault occurs when you attempt to access a memory address that is no... (by jsmith)
*nix based events
 
How are most key events handled in linux? For instance, I'm wanting to create a temporary daemon tha...
[2 replies] Last: I don't want something based on X, especially since it's not needed. I... (by closed account S6k9GNh0)
Same sources compiled as shared lib segfault, process works fine.
 
Hello, I've got this strange problem that the same sources compiled as shared lib segfaults as so...
[6 replies] Last: Well, I wish I could say it was brilliant, but it was more like "been ... (by jsmith)
by umanga
dlsym casting problem?
 
Hi guys, I am new to C++ and I have this casting problem with dlsym() (I use Debian Lenny) In th...
[2 replies] Last: Whoa... ok, firedraco's correct, but it's never going to work. I'm ... (by jsmith)
by Rufe0
Low level program to ream mjpeg stream
 
Hi all Well first I’ll just say I am a complete Linux beginner, but I have done vbs, js, php, htm...
[no replies]
by jwang
Problem about math function - pow
 
I encounter this segment problem for the second line of the code. #include <cmath> const float d...
[1 reply] : Break the formula down into multiple computations and verify that ever... (by PanGalactic)
by vijkrr
Error in executing web based C++ client.
 
Hi all, I'm new to web based C++ application. I'm trying to execute my client program, which is g...
[1 reply] : You should also try the gSOAP mailing lists. You're more likely to get... (by helios)
Seg Fault with fgets and fputs - Probably easy to fix, but I don't know how.
 
Here's my code: #include <stdio.h> #include <stdlib.h> #define size 768 int main() { ...
[2 replies] Last: Never mind, I fixed it. I started using fscanf(); instead of fgets(); ... (by lazyrussian)
undefined pthread_create
 
I am new in "linux"... I try to work with threads but I can not pass after first compilation... coz...
[3 replies] Last: yes thank for all... 5 minutes after I post I find the key,, like say ... (by doomoller)
wxWidgets and GTK - difference
 
I'm trying to do some GUI programming and i was suggested wxWidgets. While reading a few pages i ca...
[2 replies] Last: A difference between wxWidgets and GTK is that wxWidgets is in C++, GT... (by Bazzy)
by lipune
unix command
 
Hi friend will you tell me,QN1- how to know the maximum size of a file in a file structure by us...
[1 reply] : 1. man ls - there is an option you want (by jsmith)
write from buffer to buffer
 
hey guys, i was hoping that there was a way to do an operation, like fwrite(), except instead of buf...
[3 replies] Last: If you are using C++, you can use the char_traits <> class instead of... (by Duthomhas)
key press on Linux C++
 
I'm writing a program in C++ under Linux that needs to wait for user to press a key. Considering the...
[6 replies] Last: See also Keep the console open long enough to see your program's out... (by Duthomhas)
Forward declaration with g++
 
In class filter.h, I have the following forward declarations template<class T> //Forward declarat...
[1 reply] : error: invalid use of undefined type âstruct QuantizerCmplxâ Yo... (by Disch)
overloading operator<< in derived classes
 
Hey everyone, my first post in here. I'm having some serious problem with a program I'm making. I ...
[16 replies] Last: EDIT: Nevermind, I've got it working, thanks. (by Hiromakuta)
by vijkrr
How to share a file between C++ and Fortran
 
Hi all, I'm facing a problem in C++ and Fortran. I want to write some statements into a common lo...
[1 reply] : The Fortran program would have to seek to the end of the file immediat... (by PanGalactic)
problems with a project.
 
Hi there. I'm programming this project that basically schedules several appointments in a clinic.I...
[1 reply] : @ bobalberto: I'm afraid I can't help you much since I'm not sure what... (by closed account S6k9GNh0)
by sever
Insert blank "nodes" in a vectors of structures
 
Hello, I just declared an std::vector of an structure, like this, struct Elem } std...
[3 replies] Last: If it compiles it will work. std::advance() is more generic, since ... (by jsmith)
Need to get the PID of a process
 
How do I run a process from a C++ program and obtain its PID? Right now I am doing in a "parallel" t...
[3 replies] Last: Use pgrep #include <stdio.h> #include <stdlib.h> #ifdef WIN3... (by anishsane)
Extern "C" problem
 
Hello, I'm a a pretty new programmer just beginning to play around with C and C++. I use Linux an...
[5 replies] Last: melkiy: I managed to solve the problem - I had included a C++ heade... (by CodeBugs)
June 2009 Pages: 12
  Archived months: [may2009] [jul2009]

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