• 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]
system with variable
Hello! Need to take variable char or string data and make system call as per above. Please advise ...
[1 reply] : Don't double-post. Use your thread in the Beginners' Section. (by lastchance)
Linker trouble with g++
Hey there, I've been working on a small Terminal-Snake Program to better understand C++. This projec...
[2 replies] Last: ll three of these need to match. Oh thank you I didn't even notice t... (by UltraBlack)
by Weasel
Installing KDE on different drive
Hello, I've run out of space on my boot disk and so I have added 1TB of portable storage. How ca...
[6 replies] Last: I would be very careful about installing OS components (like KDE) on a... (by jlb)
Suckless patching, static variable in header (C)
Note: C programming language question I was trying to apply a patch to a suckless program and came ...
[1 reply] : config.h is such a common name, are you sure you're including the one ... (by salem c)
by iissim
How to use shared library on Linux by C++?
Hi all. At first, thank for yours Tutorial, read several times, I even understood half of it, but ...
[12 replies] Last: New question? Please use a new thread. (by kbw)
Unexpected compile error on Raspberry Pi
ve been developing a C++ application designated to work on Linux SO, I've tested my application on U...
[3 replies] Last: If you're passing in -std=c++17, how come all the linker errors are r... (by kbw)
a letter character else when Alt or Shift key + a letter key is pressed
What software let us have a letter character else when Alt or Shift key + a letter key is pressed fo...
[4 replies] Last: hah, I had forgotten that existed -- too little unix time last few yea... (by jonnin)
Create a fake Linux coding for a feature Film scene
SOLVED Thx for the infos Hi my name is Vincent, I am the production designer on a feature film. ...
[7 replies] Last: there will always be people who will try to tear it down. made up stu... (by jonnin)
gettimemillis function give negative values..
I'm writing a program on a raspberry pi, the millis function has been working correctly for days, to...
[4 replies] Last: Apparently he tries to convert the timeval struct into a scalar m... (by kigar64551)
by Alley
From a Linux box, how can I detect if I'm ssh'ing in via MacOS iTerm2 vs something else?
Hi I have a number of Ubuntu linux boxes that I ssh into, but sometimes I do it from iTerm2 on a ...
[5 replies] Last: in windows, you can name a console session (its title bar). I don't r... (by jonnin)
GUI Development For Linux in C++
I don't know how one "uses HTML+CSS", but I've seen multiple-choice wizards, perhaps even DnD, that ...
[5 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)
[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)
  Archived months: [nov2021]