UNIX/Linux Programming - May 2014

Shortest Seek Time First Algorithm Problem
 
I have programmed the following program in C. My shortest seek time first (sst) is breaking the program. If I comment out line 68 in main (the call to sst), the...
[4 replies] Last: Wow can't believe I missed that, that fixed the problem and working gr... (by cwright7101)
Issues with Boost
 
I developed C++ code with boost under Visual Studio. In future, the code will be ported to QNX. I generated the makefile from the .Net sln file with MakeItSo, a...
[no replies]
Proxy server
 
Hi guys , I am very new to network programming or application but I have done some applications like simple chat application using the c socket api. I want to ...
[1 reply] : It doesn't sound like you need a proxy. The stuff that you intend the... (by kbw)
segmentation fault
 
segmentation fault while trying to compile http://lazyfoo.net/downloads/index.php?file=Article09
[2 replies] Last: reinistalling GCC G++ solve? (by legendarysnake)
Error (1,2)
 
Getting error while trying to compile CApp.cpp http://rapidshare.com/share/C4602C45EAAD4117BF3E40DBFD1AC0D5
[28 replies] Last: ok, i did it =) (by legendarysnake)
by meed
QT : CONNECT
 
hi! i have this class in my code: class Ui_MainWindow { public slots: void entrancePage(); public: QWidget *centralwidget; QPushButton *pushBu...
[5 replies] Last: How about a different approach? Make that "next page" the central wid... (by keskiverto)
by dovip
Convert to case statements from if/elif
 
Hello, I wrote the case on code but it mistakes. I am not sure. If/elif code: #!/bin/ksh you=$LOGNAME hour=`date | awk '{print substr($4, 1, 2)}'` ...
[6 replies] Last: [quote=keskiverto]In other words, [0-11]* is not a good pattern. I ju... (by BHX)
by meed
append the file
 
hi in my code user enter a name and i use the name for create a file with that name,and then i wanna append the file..my code doesn't work when i use fstream::...
[3 replies] Last: i used this line: fstream friendfile(friendF.c_str(),fstr... (by meed)
Messed up my boost installation...
 
I followed these steps to install boost by source. I was trying to compile it only in a directory so that I could point a single application to it. I accident...
[1 reply] : At one time I had parts of two versions of the boost lib (1.49 & 1.55... (by norm b)
Are g++ Ubuntu compiled programs compatible with other dsitros?
 
I have compiled a console application with g++ on Linux Mint 16, which is based on Ubuntu 13.10. I compiled a console program with g++. Here is the output of th...
[6 replies] Last: I'm just guessing, but I suppose you have an Intel or amd box. Those b... (by paul1234)
GCC extension error..
 
Hi All, I have declared the structure like below struct faults_det_ { unsigned char rps_no_data :1; unsi...
[1 reply] : I think this addresses your question: https://stackoverflow.com/questi... (by Zhuge)
looking for C++ logger (linux)
 
Hello I'm looking for logger (application level) written in C++ for linux which is open source and thread safe. If it includes examples of how to use it while...
[2 replies] Last: http://www.cplusplus.com/articles/E36AC542/ (by kbw)
difference between dynamic_cast and static_cast
 
What is difference between dynamic_cast and static_cast in general and to convert between class to another ??
[5 replies] Last: Thank you for answer me :) (by ebdaa3sea)
start an OpenGL service on a remote server
 
I am working on debugging an OpenGL service that runs on a server. The operating system is Ubuntu. The problem is that I cannot figure out a way to start the ...
[6 replies] Last: $export XAUTHORITY=\home\<user>\.Xauthority $export DISPLAY = ":0" ... (by htirwin)
by QIZI94
Ubuntu - Alsa master volume
 
Hello, I have been searching for some way to get system audio volume through c++ and I haven't found anything. Do somebody know some easy way to get system vo...
[2 replies] Last: Thanks, snd_mixer_selem_get_playback_volume() work perfectly for me. (by QIZI94)
Simple nested Case statment in while loop
 
So I know this question is pretty basic but I'm pretty new to programing of any kind and I've been working on it so long it's giving me a headache as I know the...
[2 replies] Last: this is the basic idea. you need to round off the edges. #!/bin/bas... (by Bdanielz)
SDL 2 and vim
 
Hey, so I have a decent amount of experience in C++ and some C programming, I've used BASIC many years ago and created little pgm based games and I wanted to do...
[5 replies] Last: That worked, thank you so much (by codyjae)
Process structure
 
Hello can anyone give me some tips how to create this kind of structure of process with recursion: http://i.stack.imgur.com/uUnVi.png I made this structure us...
[3 replies] Last: 1 5 0 3 input means that the main process has one child. This one chil... (by theanswer)
logic error after amendment IDEs codeblocks my system is linux
 
[/code#include <iostream> #include<string> using namespace std; class insurance_category { int prdouct_id; string level_name; float Annual_benefit...
[6 replies] Last: I `m amendment on class cpmpany the amendment is : 1- remove void set... (by ebdaa3sea)
My C++ library
 
Take a look at my library of C++ classes for Linux. It's free for all uses: http://github.com/quantograph/SimpleCode It doesn't require any other libraries,...
[5 replies] Last: In his defense, he did post this in the Linux forum and say in the fir... (by LB)
May 2014 Pages: 12
  Archived months: [apr2014] [jun2014]

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