UNIX/Linux Programming - November 2010

by aatwo
Comile Error: Undefined reference :(
 
Hi guys. I am trying to write a simple c++ program using the g++ compiler in linux (debian) that can access a mySQL database, however I am getting some frustrat...
[6 replies] Last: You're welcome :) (by JoR)
Udev & Interacting With Devices
 
Hi, I'm trying to work out how to work with udev in my programs. I understand that this works in conjunction with sysfs mounting devices in the tree dynamica...
[1 reply] : I've not used it, but does this return the device type as a string? u... (by kbw)
Plugin for STB ( SET TOP BOX)
 
hello every one my knowledge in Programming is Equal to Zero so please forgive me if i write nonsense i have a receiver which is Linux Based and it has ...
[no replies]
Multi Threading Book
 
Hi, I start to learning threading and multi threading concept and looking for following threading book for better understanding. Thease book was reffered from...
[1 reply] : I will personally type out the second book for you, starting tonight... (by bigearsbilly)
by tsa45
use C++ to read and parse binary PPM file!!!
 
Hi is here any one knows how to use C++ to read data in PPM binary file?? My classmate said he can read the data into bool variable from the binray PPM fi...
[no replies]
by KVh
gdb does not detect segmentation fault
 
I have kind of a weird problem. I want to implement the boyer-moore string searching algorithm which I did and already works fine on windows. However it does no...
[3 replies] Last: Nevermind. it was a wrong malloc caused by the previous malloc stateme... (by KVh)
by sorinn
Matrix Multiplication using processes with fork
 
i have this code which is matrix-vector multiplication i want to change it to Matrix-matrix multiplication what change should i make? if you have the code ...
[2 replies] Last: I have an assignment and I need to put the software on a Linux system ... (by sorinn)
How to get line of inputs and outputs in the following case
 
Hi , some help needed i have the following task: reads a sequence of positive numbers and prints out their binary numeral system representations. im done wit...
[1 reply] : Just to note that i have problem with this cuz the teached didnt stop ... (by StreetBallerX)
by m m
Graphics on Linux.
 
I have a question for graphics experts. I'm working on a fedora 12, compiling (gcc) and trying to understand old C++ code. (The code is a simulator. But tha...
[2 replies] Last: Thanks ! (by m m)
by heidiK
linux make files
 
Hello everyone. I am new to creating make files. I have been able to create simple makefiles for those applications which do not involve database but am unable...
[1 reply] : Try like this make liffe_runbreach-64bit I believe 'liffe_r... (by srinathduraisamy)
Bit field byte alignment
 
#include<stdio.h> struct stu { unsigned int gen:1; unsigned int sub:10; union { int maths:14; int sci:6; char lang:8; int soc:3; }u; }; int...
[2 replies] Last: http://publications.gbdirect.co.uk/c_book/chapter6/bitfields.html htt... (by kbw)
by toks
problem with write() function
 
hello, i use the function : string msg(void) { stringstream c (stringstream::in | stringstream::out); //read from file return c.str(); } ...
[2 replies] Last: Yes, it is working ! Thank you very much GALIK . (by toks)
by vvadan
How to increase dbx stack size?
 
is there any way or an option to increase the dbx stack size? i get "internal error: stack overflow at line 1609 in file cplusplus.c" error when i try to pri...
[no replies]
GTKmm: Beyond the One-Window-Wonders?
 
Well, I took a couple weeks off from coding to focus entirely on job hunting, getting my GED, and looking at colleges. Now that I can see daylight again, it's t...
[4 replies] Last: Thanks for the reply, computerquip. Yup. I am aware of that. lol. I... (by LupusNoctu)
using mq_open to create a new message queue.
 
Hi all, First of all thanks in advance for reading my post and for your heart for helping me. I am trying to create a message queue using mq_open(name,oflag...
[11 replies] Last: Ok, I'm running out of ideas. Can you run your program with strace ... (by jsmith)
by yman
operator new[] and data initialization
 
Hi all! I'm having a trouble with the operator new used to allocate an array of long unsigned int. I rely on the operator that all the array items are initia...
[2 replies] Last: Well, this is really a completely new information to me. Good to know.... (by yman)
C++ socket
 
Hi, I'm working on sockets in linux using telnet. Every things seems to work perfectly fine but when i kill the telnet, it will terminate my socket connectio...
[6 replies] Last: Is it that write() is generating a SIGPIPE due to a broken socket?... (by closed account z05DSL3A)
Abort (core dumped)
 
I've got a good question for you guys. I'm making some changes to existing code and have run into an issue I'm not sure how to fix. I'm trying to compile an...
[3 replies] Last: thank you for this information. Glad I have found it. (by juliepainting)
Byte Alignment in C structure
 
Hello , I had a program which was crashing in HP IA 64 bit machine. My program is configured for 4 byte alignment( #pragma pack(4)). The same program didnt...
[2 replies] Last: I have these doubts : 1) when i aligned the 1st program for 8 byte ... (by ravikandagal1)
Problem with infile
 
I have an assignment where I read in data files in a specific format and then store them in an array. Putting it simply, when I read in my data file, it will re...
[2 replies] Last: Do this: while(getline(infile,title),!infile.eof || j < B) Thi... (by rocketboy9000)
November 2010 Pages: 12
  Archived months: [oct2010] [dec2010]

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