• 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]
To clean up all Linux orphan links
 
How to clean up all orphan symbolic links by shell CLI ?
[3 replies] Last: Some distros provide Linux file utility: symlinks Title =sym... (by keskiverto)
/usr/src linux is shared among many side-by-side Linuxes
 
How is it if /usr/src linux is shared among many side-by-side Linuxes installation
[5 replies] Last: Not a 100% verbatim copy-paste -- awesome. There is an answer. Linux ... (by keskiverto)
by EmanCS
measuring running time inside loop
 
HI I want to measure the running time of function run() in two different parameters A and M. If I c...
[8 replies] Last: An alternative to flushing the cache is to run it once without timing ... (by jonnin)
Product dll with gcc
 
Hello, I would like to produce with gcc a linux special dll file (PE AND NOT ELF format) and use f...
[1 reply] : I would suggest to use code blocks in both cases. That would make it e... (by coder777)
by EmanCS
array of timespec handling
 
Hi I have a code that call a function then measure the average runtime int main() { int numOfRun =5;...
[3 replies] Last: Is it better to use double or long double Just use double. Dependin... (by Ganado)
C++ development in a Linux Terminal?
 
Learning how to compile code via the command-line no matter what the OS is a good skill to have. Co...
[3 replies] Last: Well, at least this repost wasn't a really bad knowledge topic for oth... (by Furry Guy)
Linux flle structures
 
Hi guys I'll start of by saying I'm pretty new to Linux, on windows all files have a signature or m...
[2 replies] Last: you have a misconception. a binary file uses all 0-255 values for any... (by jonnin)
how to iterate table in C++ and Mysql
 
hi to all, I've centos 6 server and client as centos 7 and in that codeblocks 20. I" am building a...
[no replies]
myqsl_real_connect returns 0
 
hi to all, I've mysql server in centos 6 VM and client in centos 7 VM. I've building a small projec...
[1 reply] : You should know this by now... https://www.cplusplus.com/articles/jEyw... (by salem c)
by EmanCS
Writing batch file and c++
 
Hi My is c++ is for running multiple algorithms with different parameters a,b,c that has to be send...
[7 replies] Last: > why you can't put a loop in main() that does the same thing with les... (by ne555)
by colt
gcc complains about not finding Opengl
 
Hello. I am trying to compile a c++/c project. During the first attempts, it became clear that it wa...
[6 replies] Last: If your system has package management, then you should be able to solv... (by keskiverto)
Linux Shell Programming. Implementing a Search, Find and Replace Technique
 
I have to implement an application in shell programming (Unix/Linux). I have to search a word fro...
[1 reply] : https://linux.die.net/man/1/sed Eg sed -i -e 's/haystack/needle/g' m... (by salem c)
Does using Bash count as Unix/Linux experience on cplusplus?
 
I am a windows user but I use bash a lot. Some of the internships that I am applying to require "dem...
[3 replies] Last: as an intern the experience may not be expected to be very much. as i... (by jonnin)
by jonnin
How can a C/C++ program put itself into background?
 
maybe this for win? https://www.codeproject.com/Articles/810/System-Tray-Icons-Minimize-Your-Applica...
[no replies]
OpenCV, C++ Socket video stream
 
Currently I have a c++ socket that when connected takes a picture from a camera and sends it to the ...
[no replies]
How extract the name of a file
 
Hi all, I am beginner on C++ and linux and one of my tasks is extract the name of a file and comp...
[2 replies] Last: Helios I am sorry, i think it would reach different people. (by prigiacomini)
How can a bash code do a return completely while in nested call
 
How can a bash code do a return completely (as if it returns from main function) when it is being in...
[2 replies] Last: Some of the advice on that site is good (you almost always want to quo... (by uplime)
Is my gcc configured right?
 
I've tried to install QT at least twice and the most basic of examples produce tons of errors. Now ...
[3 replies] Last: When using a library it's quite common to have to add -l followed by... (by Peter87)
Structs and unsigned chars
 
I'm currently trying to program a function that allows a user to read in an image and they can eithe...
[3 replies] Last: Image image <-- what is this? Image newImage ; <--- this one has a... (by jonnin)
  Archived months: [jan2021]