UNIX/Linux Programming - August 2014

pthreads newby issues
 
Hi, I have run this example, and I'm not getting the expected result. #include <pthread.h> ...
[5 replies] Last: Hi, That is a nice thread. I have a question, where is the mutex bein... (by jared181)
Project Idea that integrates C++ and Embedded Linux
 
Hi, I got an embedded Linux BeagleBone Black and would like to do a project that combines C++ and...
[2 replies] Last: Hi, Thank you very much. LCD sounds nice. I even got a Graphic LCD I... (by jared181)
linking to iostream
 
I'm working on a small openGl program (just a test actually), and need to use standard output (cout)...
[8 replies] Last: I was responding at LB claim of using g++ for C code > Gcc is good a... (by ne555)
Output of popen returns garbage
 
I am calling 'find' from popen and the string returned contains garbage at the end. Any ideas on how...
[3 replies] Last: Well that's odd: I never saw garbage from popen. Have you tried diffe... (by koothkeeper)
by geng07
Display a line from text file (1,2,3)
 
Display a line from text file , my problem is i cant display the lines which only contains the speci...
[51 replies] Last: [quote=geng07] const auto date { /*foo(line2)*/ }; // #3 if (c <= date... (by keskiverto)
by geng07
Display first 10 lines of a textfile which contains a specific string
 
I need to display the first ten lines in this text file from date start which is 2014-08-01 to 2014-...
[4 replies] Last: @dhayden: The sample input is not sorted by timestamps; the 2014-08-01... (by keskiverto)
by ne555
Using bash-completion
 
You can use readline() to get completion on filenames. However, I would want to complete commands...
[no replies]
by geng07
How to filter data from tex file
 
Requirements in filtering the text file. OVERWHELMED TO ACCEPT SUGGESTIONS. THANKYOU :) 1. first ...
[1 reply] : Please, do not double-post. The first thread should be enough: http://... (by keskiverto)
by mfouad
Building berkelium for Odroid U3
 
Hello everybody, I'm trying to build berkelium for ubuntu 13.10 but it is very complicated One of...
[no replies]
by liviy
Problem compiling older code on newer OS/Versions
 
Hi, First time posting on here so please forgive me if I miss some requirements or accidental bre...
[16 replies] Last: Please don't hijack a thread. It's must easier for everyone if you st... (by kbw)
Question to XCode Users
 
Do you know a way to make Xcode execute the application in an actual terminal window instead of its ...
[1 reply] : I don't use Xcode, but most IDEs have a tickbox somewhere in their set... (by LB)
the best compiler for c++ in ubuntu
 
i've just installed ubuntu 10.10 on my laptop.but i don't know the best compiler for c++. any sugge...
[9 replies] Last: Guessing it either came with a book or something. Shouldn't be too har... (by BHX)
From PI to Server
 
Earlier today I thought two things: A) I need a server, and B) What can I do with my raspberry PI's?...
[5 replies] Last: Also, is it possible for me to code it in Microsoft Visual C++ 2010 o... (by kbw)
Erasing specific value in a map of vector
 
Hi there, Given a map datatype: map<unsigned int, vector<string> > *nodeDataItem How can i delete s...
[5 replies] Last: Do not use operator with map unless you are sure that the key exists;... (by keskiverto)
by geng07
Text file Filtering
 
Hi ! I have updated my code already but i still have unfinished requirements 1. first my professo...
[1 reply] : Please, do not doublepost. The first thread should be enugh: http://ww... (by keskiverto)
Linux Linker
 
Not so experienced with linking in linux. I've installed the lua baseline with $ curl -R -O http...
[6 replies] Last: With linux you have pkg-config: On my computer: $ pkg-config --list... (by Lowest0ne)
setup server in linux step-by-step
 
Hello. I am doing ISIT 105 communications and network in my class. Please tell me how do I set up a ...
[1 reply] : That isn't really a C++ related question. https://www.google.co.uk/we... (by kbw)
by sever
Generic pointer to a generic class method
 
Hi guys, When something like as follows is written, void (ClassA::* method_pointer)(); it's pos...
[3 replies] Last: FWIW, you don't have to reinvent the wheel here. C++11 offers the std... (by Disch)
by RyanV
Error Messages When Compiling
 
I've been trying to compile the following program: Server.h #ifndef SERVER_H #define SERVER_...
[2 replies] Last: http://www.cplusplus.com/forum/general/140198/ (by ne555)
How do I set up a clear screen function
 
void clear() { //code } And what library should I include? Please not the spamming spac...
[3 replies] Last: Preferably neither, and you got it wrong anyway (you forgot it takes a... (by NT3)
August 2014 Pages: 12
  Archived months: [jul2014] [sep2014]

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