• 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]
Create a fake Linux coding for a feature Film scene
 
Hi my name is Vincent, I am the production designer on a feature film. I have a scene where actor...
[3 replies] Last: C++ is a tool for creating new software. This activity doesnt have mu... (by mbozzi)
by arisu
GUI Development For Linux in C++
 
Hello. I am trying to learn GUI development for C++ on the GNU/Linux Operating System. I have tried ...
[6 replies] Last: imgui isn't an IDE, it's a GUI framework. I spent some time on it som... (by kbw)
by colt
ld cannot find 32bit libc during building
 
Hi, I am currently trying to compile a 32bit freetype example code, however when I try to do so I re...
[9 replies] Last: It printed so many things that they did not fit on the screen, nonethe... (by colt)
/
 
Do we actually need to put (/) at end of directory path ? ex: 1- cd path/ex 2- cd path/ex/ ...
[5 replies] Last: Somewhat related, when copying or moving files, I put a slash at the e... (by dhayden)
Pipes and command line arguments not working
 
HI guys. Wrote an extremely simple program that displays the command line arguments a user types. I...
[5 replies] Last: UNIX programs usually don't care if cin is a terminal or not. That's a... (by dhayden)
by Ivanka
ls -ltr | tail -n 3
 
what this command stands for? the ls -ltr is to list programs sorted by time the tail -n 3 is t...
[4 replies] Last: the tail -n 3 is to list the last three lines in the file It would b... (by dhayden)
............................
 
Yes.
[11 replies] Last: https://xkcd.com/221/ (by mbozzi)
by Ivanka
do sleep
 
how this command: for i in {1..5}; do sleep 600 & done work?
[1 reply] : for i in {1..5}; do something done That's a for loop in bash. Th... (by kbw)
our own linux binary find/recognize in /usr/local/lib
 
How do we have our own linux binary find, recognize and use its library/deps. in local library i.e....
[1 reply] : Dynamic linker has a search path that it looks from when loading execu... (by keskiverto)
by Ivanka
~ / bin is in PATH
 
why the commands located in ~ / bin can be run from anywhere?
[4 replies] Last: From man bash : Environment variable PATH The search path for comm... (by keskiverto)
Get git patch from current to the first file
 
As a noob in git i have no idea how to have patch to current modified files relative to original one...
[1 reply] : Are you asking how to use patch and diff with git? (by kbw)
.zshrc:197: command not found: ‘export
 
Every time I run the terminal I get this line as error in the top of the terminal .zshrc:197: com...
[5 replies] Last: @salem c [code #include <stdio.h> #include <stdbool.h> int main(vo... (by closed account Nwb4iNh0)
is't neccessary to include "struct" keyword at this program?
 
//test.C #include<csignal> int main(){ sigaction a;//mark1 return 0; } it goes wrong whe...
[3 replies] Last: if its windows, it may not understand upper case C as filename case is... (by jonnin)
glm/c++/OpenGl library path
 
Is really storing the libraries in /usr/local/include is same as saving it in /usr/include path lik...
[6 replies] Last: when I install any library it goes by defulat to /usr/lib not /usr/lo... (by kbw)
by dpf3
How to "reverse direction" of POSIX message queue in Linux?
 
I am trying to figure out how to "reverse" a single POSIX message queue to enable two-way communicat...
[1 reply] : Why do you want to do this? Because the very real problem is how you ... (by salem c)
How to merge two makefiles?
 
I'm not so skilled with makefile and I'm getting some configuration problem in marging two different...
[1 reply] : The complication is that you have different compiler flags for the two... (by kbw)
a.out file
 
Im not sure about it, but why can not I create two a.out files in the same directory? how to run a.o...
[4 replies] Last: Building off of what others have said, you can compile to foo and to b... (by newbieg)
E: Sub-process /usr/bin/dpkg returned an error code (1)
 
Does this error mean that this package nodejs_14.18.0-deb-1nodesource1_amd64.deb is broken and need ...
[4 replies] Last: It would also help if you said what you were doing, ... give some cont... (by kbw)
Perplexity about TTY and PTY
 
Hello Guys, i'm trying to understand the usage of Pseudoterminal but it's really hard even to explai...
[1 reply] : Yeah, the article doesn't say very much, and is implicitly misleading.... (by kbw)
  Archived months: [oct2021]