• 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]
Libcurl API - Slow performance in Linux for C++ application
I am using libcurl API for connecting with server. I am seeing a slow performance specially while up...
[3 replies] Last: Use tcpdump to capture the run on Linux, then view it in Wireshark. D... (by kbw)
How to get variable to linux command from config file?
Hi everyone. I have a code script that deleting unused logs. I have this function for it. +5 repres...
[9 replies] Last: Thank you for all your answers. I was written my file name wrong... So... (by suslucoder)
by CandyK
Thought about Mac?
Longtime Linux user here who, like most of us, is forced to use a Mac for work. Today when I put my ...
[2 replies] Last: If you want to have a little cry about your Mac, move it to the loung... (by zapshe)
Doubt about the usage of ' - ' as redirection operator
Hello guys! I was studying the bash script language and came across this example of ' - ' special ch...
[6 replies] Last: Ok wow, i got it guys! Really thank you! expecially to @kbw, it was a... (by vittorioc98)
by CandyK
Alright, tar and feather me, is the best way to do windows stuff properly just to dual boot?
Currently, I'm running ubuntu as my sole OS. I can fire up a VM if I REALLY need to use photoshop or...
[10 replies] Last: Virtualization is fun to play with, and my college ran virtual window... (by zapshe)
How to capture raw uncompressed picture of YUYV formatin c++ using v4l2
I have a webcam connected to beaglebone via usb. I am coding in c++ and my goal is to capture raw UN...
[7 replies] Last: What exactly means step into v4l2_ioctl? v4l2_ioctl is an externa... (by malibor)
How to run linux commands in a C++ Code
Hi everyone. Im working on windows10. I want to write a c++ code for my linux service. In my code,...
[2 replies] Last: Thank you for all your suggestion. Finally i wrote the code that i wan... (by suslucoder)
by CandyK
Automatyzation script
Hello everyone, I need to create a script that runs the miner at startup. I have no clue what is wro...
[1 reply] : Chia, the reason 16Tb disks are no longer available. I need to creat... (by kbw)
Write a script which for each directory given on standard input (in a separate line) prints the use...
[no replies]
Write a script which takes a PID as an argument and prints PID's of all its GRANDchildren and grandg...
[no replies]
Write a script which pauses the session for the number of seconds given as argument, and then displ...
[no replies]
by Kmpck
Setting working directory to executable directory
Hi guys! I am having a bit of a problem here with figuring out how to set my Kdevelop projects wo...
[3 replies] Last: Thnx. Shortly after posting I found the solution. (by Kmpck)
sql query problem in c++ and mysql
Please edit your post for readability. https://www.cplusplus.com/articles/jEywvCM9/ > I've a proble...
[3 replies] Last: The b is on the next line, the end of the query is 2 lines after that... (by kbw)
How to add some different cookies using one cgi file? (cgicc lib)
Hello everyone! I know how to add cookie, but only one. Second one and others will put down to a web...
[3 replies] Last: Everything from GNU is hard to understand. But they do tend to follow ... (by Duthomhas)
How to read content of application(.cpp file) and how to list down the function call?
Hi, Iam working on c++ in linux system, so i need to know how to go through the content of Applicat...
[8 replies] Last: I'm guessing this is you as well. https://stackoverflow.com/questions/... (by salem c)
helgrind reports lock ordering violation in the same thread.
Hello everyone! Valgrind tool Helgrind is reporting a violation in the lock acquisition order... in...
[2 replies] Last: OK I understand helios. Thank you very much for your answer! (by hebrerillo)
by hbcpp
ping vs gethostbyname to check internet connection
I need to a way to check if pc is connected to the internet. The most common option is to use ping, ...
[3 replies] Last: It'll tell you that your internet is alive, because you queried your D... (by salem c)
How do I run a terminal command without freezing the GUI app
I'm doing an app in wxWidgets and I need to run a linux command. The command is mpv <video URL> <som...
[2 replies] Last: I added the "&" at the end and now it works! Big thanks :3 (by fivetwoseveone)
sql query problem in c++
hi to all, i've centos 7.5 in VM. I've a problem with sql query. here i want to display product, cus...
[7 replies] Last: what I would do is print the generated sql statement and run it in you... (by jonnin)
  Archived months: [jul2021]