• 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]
by oddy
About "make" command during the installation of GCC
I am compiling GCC 9.3.0 under FreeBSD 12.3 (i386). It is OK when I type ./configure , but when I t...
[3 replies] Last: @kigar64551 @kbw Thanks for answering! (by oddy)
Bug with step 3 database
I would like to ask you a question about the installation of GLPI 9.5.3. For the explanation: I foll...
[1 reply] : You mean this ? https://glpi-install.readthedocs.io/en/latest/install/... (by salem c)
by tonic
IDE+Compiler for LINUX
Hello, I changed my OS lately to LINUX/Debian and on windows i used VS2019, so i thought i ask u wh...
[16 replies] Last: Thanks for sharing such a helpful instruction, really appreciate for y... (by Terrance4933)
return-statement with a value, in function returning 'void' [-fpermissive]
Im trying to connect postgresql db from my server which has ubuntu 18.04 I have the code below but ...
[3 replies] Last: Amazing tutorial! This is exactly the type of post we like to see on t... (by Terrance4933)
Linux Kernel Compiltaion Fails Without Error
Hi I am trying to add new system call to linux kernel but it fails without giving me any error here...
[1 reply] : Try make V=1 to enable more verbose output. (by kigar64551)
how to execute update query with PQexec?
I have the code below for update query. It works but it doesnt update the table. my line if ...
[3 replies] Last: Sod please , suslucoder, Learn to use code tags, they make re... (by George P)
cannot convert ‘std::__cxx11::basic_string<char>’ to ‘const char*’ for argument ‘2’ to ‘PGresult*
I have ubuntu 18.04 and postgresql 14. I have a c++ code below. Im a executing a query and want to ...
[3 replies] Last: thank you so much. my problem solved. (by suslucoder)
by K9WG
Playing MP3 files
A little background. Several years ago I developed a player for MP3 files. This was to accommodate a...
[6 replies] Last: Even though audio support in Linux is provided by ALSA (Advanced Lin... (by kigar64551)
How much RAM does my code need?
Good evening! I want to run an mpi C++ code on a cluster node with N cores. Each mpi process needs ...
[15 replies] Last: Thanks for sharing such a helpful instruction, really appreciate for y... (by johnny5947)
Please Help Asap UNIX
1) Requirements of the script: a) You can use any shell, but you must identify the shell on the firs...
[6 replies] Last: Amazing tutorial! This is exactly the type of post we like to see on t... (by johnny5947)
#include <iostream> #include <string> #include <cstdlib> #include <time.h> #include <fstream> u...
[2 replies] Last: I expect it doesn't compile. int losowanie( int tab , int min, int ma... (by kbw)
by NoahP
Trouble with base64 programme
Hello, I am trying to create a program that encodes the user's input then proceeds to decode it. It'...
[2 replies] Last: Thank you for your help! (by NoahP)
I didn't have any prior experience in this. Need some guidance
The parent process should read an array (size 6) of double (frequency (1)) from the user and creates...
[1 reply] : If you can start the processes from the shell , then you can type: .... (by kigar64551)
Checking available memory with sysconf(_SC_AVPHYS_PAGES)
Hi everyone! I am developing an application and I need to check the ammount of Bytes available. I...
[3 replies] Last: You could look at the system with htop, sort by "Resident Memory", sit... (by kbw)
Get absolute path on Linux/Unix
Hello, I have a program that takes an input and output file as arguments. I want to make sure t...
[11 replies] Last: uniquely identify a file on a single computer. Are you sure? As I r... (by kigar64551)
Problem with my parser.y (FLEX/BISON)
I am learning Flex/Bison and we are currently on the part about semantics, previously have dealt wit...
[2 replies] Last: Thank you for the help editing my post's format salem (by GhostRider030688)
Duplicate one's git repo for a new same purpose but in another PL
How is the easiest way for one to duplicate his git repo for a new same purpose or creation but will...
[3 replies] Last: If you release a particular version, do you do it per language or does... (by kbw)
Suggest network/graphics library to take website "screenshots"
Dear forum members, I'm looking for some network/graphics library to take website "screenshot". ...
[2 replies] Last: Thank you, salem c. I will try to understand this software. (by spistol)
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)
  Archived months: [apr2022]