• 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]
Fork and execute
 
Hi, so I'm slowly trying to wrap my head around creating my own shell simulator. As far as I can und...
[15 replies] Last: Hi, is this code passable? I've written workable code before that was,... (by jjordan33)
race conditions in libcurl under valgrind
 
Hello everyone! I am executing the following libcurl example under valgrind(helgrind) https://...
[no replies]
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)
How to program in Android in C++ using Code locks from Windows
 
Hello. Some time ago I have programmed a símple app as a Linux app using busybox tools and a Compil...
[2 replies] Last: Thanks. I will try it. I need to learn that there are some Microsoft f... (by enriquemesa8080)
Exec arguments not providing expected results [Linux/C++]
 
I'm implementing two programs which will act as ALU and CPU,The CPU will read inputs from a file as ...
[5 replies] Last: Why not use execl() instead? if(pid==0) { execl(path, arg1.c_str()... (by dhayden)
Help with File Descriptor?...
 
Hello Guys! Im using file descriptor but.. i've tryied to new line with no success :/ Is there a pos...
[4 replies] Last: Line 10 and 11. Check the last parameter. Review the meaning of s... (by mbozzi)
Best text editor for programming in multiple languages with vim emulation???5c
 
Another reddit thread spam poster. https://www.reddit.com/r/linux_programming/comments/e7vgql/best_...
[1 reply] : Visual Studio Code (based on Atom) is pretty good if you need a simple... (by kbw)
Sending 3 arguments from one program to another using execvp? Error?
 
Hi everyone, I'm creating an ALU and CPU ALU's job is to receive 3 arguments from CPU and compu...
[6 replies] Last: exec... take the exe name as the first arg, but also the first arg in ... (by kbw)
How to write the data in txt file into other txt file
 
I am working on reading the data from one file "file1.txt" having format 0 0.0003 0.0006 -0....
[4 replies] Last: Another version: #include <iostream> #include <fstream> void output_... (by againtry)
Reading in a newline with getline loop.
 
I'm supposed to use getline to read in a joustdata.txt, and to ensure that the numbers read from the...
[6 replies] Last: Oh, yeah, I'm sorry I didn't pay attention to that, thank you so much. (by yagirlneedshelp)
Arguments passed to the command line not printed and the program loops indefinitely [Ubuntu/C++]
 
I'm trying to implement a simple command line program that takes three arguments and prints them on ...
[2 replies] Last: Loops indefinitely? I can't see why that happens, but note that your t... (by Ganado)
Why Glut Post Red Display isnt working?
 
#Question How to use GlutPOstRedisplay to render screen again and again... #My Workings I worked on ...
[1 reply] : if you have global `x', `y' variables, notice that you are not modifyi... (by ne555)
no conio library so not getch()
 
I am learning C++ on a Raspberry Pi with Code:Block. There is no library with the name "conio" so t...
[5 replies] Last: I would take something off color that was portable too, but no OS or C... (by jonnin)
Which C/C++ IO write function does not use flush or sync?
 
Hi, I am running Linux C++ on NAND flash file system which using page to write, any write functio...
[7 replies] Last: If you aren't directly or indirectly requesting the flush yourself the... (by dhayden)
Best way to check if file abc* exists in a particular directory in C++
 
I have a specific problem at my hand right now. I have core* files in my /tmp/ folder on linux. I...
[3 replies] Last: Must you do it in C++? It's trivial with the shell $ if ls abc* > /de... (by dhayden)
by zak100
Getting Error in Omnetpp.ini file
 
Hi, I am running omnet 5. I am trying to create a project from the documentation: https://docs.om...
[no replies]
Get iface name with only pci location
 
I have an Dell E6400 running Kubuntu 18.10. This machine has an expresscard slot to which I currentl...
[1 reply] : https://www.linuxquestions.org/questions/programming-9/catching-a-hot-... (by salem c)
  Archived months: [nov2019]