UNIX/Linux Programming - April 2014

How do I run this git hub program?
 
Hey guys, there is no make file to run. Do I run eclipse and make a new project? But there is cm...
[6 replies] Last: Got it to work! mathewfok@mathewfok-Satellite-C855:~/Documents/yafic... (by demondiamond)
Compiling error try -fPIC
 
Hey guys if you could help me bypass this error and get the program to run. The link is here: http:/...
[no replies]
Move semantics between an application and shared library
 
Consider the following: // Assume this is compiled to "SomeLibrary.so" extern "C" { std::vector...
[4 replies] Last: Thanks for the info norm. That was a simple mistake on my part while ... (by Luke Leber)
by Alby94
getppid() ??
 
The function getppid results not declared though i included the pthread and sys/types libraries... ...
[2 replies] Last: hmm, both sys/types.h and unistd.h are present... Should be sys\types.... (by icegood)
Segmentation fault (core dumped)
 
Okay so here's my code: #include <iostream> #include <cstdlib> #include <cassert> #include <ve...
[3 replies] Last: never mind. i already solved it :). just added another conditional sta... (by Jezebel)
by Alby94
Threads C++11
 
Why I cant compile this?? http://it.tinypic.com/r/j79894/8
[2 replies] Last: DevC++ hasn't been discontinued as someone picked up development via a... (by NoXzema)
Better way to extract data from string
 
In a C socket program I have created I need to extract data from a string sent from the Windows clie...
[1 reply] : i would construct an std::string object from it, and then you can do o... (by Little Bobby Tables)
error in class C++ in codeblocks IDEs GNU compiler
 
My program //Customer.h #include<string> #ifndef CUSTOMER_H #define CUSTOMER_H using namespace st...
[1 reply] : a) please use code tags b) whats the problem c) you have this line in ... (by Little Bobby Tables)
by RyanV
POSIX Semaphores in Linux
 
Hi, I need to make a program that takes as input a series of customers for cashiers. Each custom...
[3 replies] Last: With the pids, I saw that your output was "Got alice." for each custom... (by Svnyster)
FATAL ERROR IN NS3
 
please i want to know y the following error is showing in my program after it was successfully built...
[no replies]
read string from a text file
 
Hello, i have a text file like this: 123 abc **dddd **ERROR hallo **ERROR 1234567 This is from a ...
[6 replies] Last: I missed this, you really should start another thread for a different ... (by kbw)
Finding file size with file input/output operations
 
Hey people, I want to be able to find file size using file input/output operations "open()" funct...
[5 replies] Last: Finding file size with file input/output operations Don't . Check t... (by kbw)
IO map
 
Submit my codes,compile is ok,when i run it ,after input name, segment fault! I found the mistake c...
[1 reply] : The first thing I would do is to check the value of s on line 31. It ... (by kooth)
Simple Recursion problem
 
Ok, so I have this assignment where i have to create a program that takes in input for the length of...
[1 reply] : I got it figured out guys, but that brings on a different question... ... (by codyjae)
by Matome
warning: control reaches end of non-void function [-Wreturn-type]
 
//File: PrimeChecker.cpp #include <iostream> #include <cmath> using namespace std; bool PrimeCheck...
[2 replies] Last: Oh....it works now...thank you (by Matome)
Copying the file
 
I try to copy file from one dir to another dir. I know that we have to use cp
[2 replies] Last: Read the manual: man page for the cp command, at the bash prompt : m... (by TheIdeasMan)
Configure TCP/IP printer port through Qt
 
Hi, I want to configure tcp/ip printer port programmatically through Qt. I am doing the same in m...
[no replies]
Access Problem
 
Hello, From account I would to connect to my friend UNIX account I dont know how. I have her dir. ad...
[11 replies] Last: yes it work thx (by CodingisFun)
by zolo
using Levmar
 
Hi, I would like to use the levenberg - Marquardt minimization routine in my c++ script. I am not...
[8 replies] Last: I found it thanks (by zolo)
by tition
Small http server c++
 
Hi all, I want to add a small http server to my project. I am looking for the smallest possible ...
[8 replies] Last: Civetweb (based on Mongoose) is a C (with C++ bindings), cross-platfor... (by odin39)
April 2014 Pages: 12
  Archived months: [mar2014] [may2014]

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