• 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]
MP3 on Linux using SDL2
Hey, I missed the post a while back where someone wanted to know how to write an mp3 player for Linu...
[no replies]
SMTP SendMail Help
Hello guys, i need help to finish my smtp library because i keep getting error messages from the ...
[6 replies] Last: A couple of things to consider in the future when you ask for programm... (by George P)
Detecting Key Holds MacOS
I've been experimenting around with Ncurses for a bit and discovered the wonderful world of getch() ...
[6 replies] Last: Are you using a console app (implied by use of ncurses)? Any GUI will... (by kbw)
by colt
Build Mesa complain about wrong 32bit Glibc dir
Hi. Trying to build a 32bit Mesa, the process stops with the following error messages: mklib: Maki...
[1 reply] : Isn't there a package you can install for this? Is there a reason you... (by kbw)
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)
  Archived months: [jun2022]