• Forum
  • UNIX/Linux Programming

UNIX/Linux Programming

by admin
Welcome to this board!
Welcome to the forum for UNIX and Linux programmers in C++.com! In this forum, users can to talk ab...
[no replies]
Creating pipe,fork,exec, dup
Please help! this is the assign: The purpose of this assignment is to make sure that the students c...
[3 replies] Last: Here's one example. #include <iostream> #include <sstream> #include ... (by salem c)
How to return a signal from child process and how to set an alarm?
Please see the following question, Write a program that creates a child process using fork (). Th...
[2 replies] Last: while the parent waits for the signal from the child process Maybe th... (by dhayden)
by alexBB
Screen capture in Linux (Ubuntu)
I wonder if there is code to copy that would help to capture screens of webcams, not the computer sc...
[3 replies] Last: Thank you guys. I really appreciate it. Very helpful. So far I've used... (by alexBB)
c++ 3 games programming
Hi guys i download visual studio + php storm and i want to program 3 games from linkedin [zombie are...
[1 reply] : You probably want to post this in the Windows Programming section. (by kbw)
by AL88
What libraries for file search
What libraries would i need to write a file searching program for linux? Thanks.
[12 replies] Last: you mean not show folders at all? rewire the logic there to: if it is... (by jonnin)
by gggg
Jgrasp problem
I need help. How do I get Jgrasp to run a program on a Linux terminal?
[no replies]
When to start counting (to test module load time)
Hi, I made a c program to load a module and create a /proc file that will show the number of seco...
[2 replies] Last: Thank you. And it was right! I was pleasantly surprised. (by jjordan33)
timeout on write() for linux pipe
How can I set timeout for write() on linux pipe ? example code: int fd_pipe = open("/run/some/...
[4 replies] Last: That isn't what you asked for. You asked for a write timeout. That c... (by kbw)
by elb
unix C++ solution to getch() question
This post asks about the equivalent of getch() from <conio.h>. http://www.cplusplus.com/forum/unices...
[3 replies] Last: You need to test if the input stream has anything to read. You can do... (by kbw)
Fork and execute (1,2)
Hi, so I'm slowly trying to wrap my head around creating my own shell simulator. As far as I can und...
[20 replies] Last: Thanks for responding to this! I always want to know how to better cod... (by jjordan33)
error linking boost library to cmake
I am trying to link boost library to my c++ project using cmake. Here is the cmakelists.txt file: c...
[1 reply] : you are not linking against boost libraries target_link_libraries(${... (by ne555)
making member required
I have a struct : struct Vector { vector<pair<int,int>> pnts; int ind; } When i use this struct...
[1 reply] : It's hard to figure out what you are trying to do. Could you give us ... (by elb)
by FoxMan
XML booleans and loops proccesed on C++
I have an XML file that contains a structure with loops and booleans expressions, but as this XML fi...
[1 reply] : I need to interpret this Right: there's your starting place. There ... (by mbozzi)
Run batch file from a c progam in linux
Hi, this is going to sound like a pointless question since it should be easily tested myself, but he...
[9 replies] Last: You're correct. I was confused about directions. (by jjordan33)
by HJ3475
Bit management with bool
Hi! I have written this code, but I'm not sure that it's right because my program cannot compile, I ...
[2 replies] Last: @HJ33475, do NOT edit your post and remove your code. That is rude an... (by Furry Guy)
race conditions in libcurl under valgrind
Hello everyone! I am executing the following libcurl example under valgrind(helgrind) https://...
[1 reply] : these kinds of tools are known for false alarms, which can be mitigate... (by jonnin)
Mutual lock Problem
Hi guys.I am working on a problem where I have 3 processes and they communicate with shared memory.I...
[5 replies] Last: @coder777 Thank you very much for the explanation! (by Zivojin)
Creating a CLI shell
Hi, has anyone ever created their own command line shell using a C language? I was reading the sylla...
[2 replies] Last: Yeah it really is. I was expecting way more difficulty. (by jjordan33)
rotating vector c++
I have 3 vectors right now i have determined which vector is at conterclockwise direction by using c...
[1 reply] : > rotate this vector till it don't concide with the vector w I don't u... (by ne555)
  Archived months: [feb2020]