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...
May 31, 2014 at 3:21am
[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...
May 30, 2014 at 8:12pm
[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 ...
May 29, 2014 at 10:04am
[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
May 28, 2014 at 7:09pm
[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
May 27, 2014 at 10:24am
[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...
May 26, 2014 at 5:07pm
[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)}'` ...
May 26, 2014 at 11:29am
[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::...
May 23, 2014 at 4:55pm
[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...
May 23, 2014 at 3:40am
[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...
May 23, 2014 at 12:51am
[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...
May 21, 2014 at 5:25pm
[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...
May 19, 2014 at 12:02am
[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 ??
May 17, 2014 at 10:47am
[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 ...
May 15, 2014 at 7:20pm
[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...
May 15, 2014 at 9:59am
[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...
May 15, 2014 at 4:54am
[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...
May 13, 2014 at 3:21pm
[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...
May 12, 2014 at 6:58pm
[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...
May 12, 2014 at 12:22pm
[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,...
May 12, 2014 at 10:14am
[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.
Registered users can post in this forum.