• 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 Jheen
sending message to server
[1 reply] : S (by Csharpener)
no conio library so not getch()
I am learning C++ on a Raspberry Pi with Code:Block. There is no library with the name "conio" so t...
[5 replies] Last: I would take something off color that was portable too, but no OS or C... (by jonnin)
Which C/C++ IO write function does not use flush or sync?
Hi, I am running Linux C++ on NAND flash file system which using page to write, any write functio...
[7 replies] Last: If you aren't directly or indirectly requesting the flush yourself the... (by dhayden)
Best way to check if file abc* exists in a particular directory in C++
I have a specific problem at my hand right now. I have core* files in my /tmp/ folder on linux. I...
[3 replies] Last: Must you do it in C++? It's trivial with the shell $ if ls abc* > /de... (by dhayden)
by zak100
Getting Error in Omnetpp.ini file
Hi, I am running omnet 5. I am trying to create a project from the documentation: https://docs.om...
[no replies]
Get iface name with only pci location
I have an Dell E6400 running Kubuntu 18.10. This machine has an expresscard slot to which I currentl...
[1 reply] : https://www.linuxquestions.org/questions/programming-9/catching-a-hot-... (by salem c)
Why is Linking necessary?
I am fairly new to C++, and I've just started to learn my first libraries outside of the STL lib. Ju...
[3 replies] Last: https://stackoverflow.com/questions/3322911/what-do-linkers-do https:... (by Furry Guy)
recompiling with -fPIC
Hi all, I'm compiling an open source software on Centos7 GPU with gcc-6.0.1, does anyone know how t...
[1 reply] : recompiling with -fPIC and check for the missing file libz.so.1 (by Thomas Huxhorn)
For loop running only one time
Hi Following for loop is running one time only .can someone spot what is the issue? g_pShmBuf ...
[1 reply] : It looks OK from the information given. The way I see it, probably one... (by Ganado)
(Function) pointers after plugin unload
Hi, I have a highly dynamic plugin system with a lot of shared function/memory pointers. Each plug...
[2 replies] Last: -Memory pointer should still be valid, shouldn't they?- Why not? On ... (by closed account G8CRjE8b)
GUI programming in Ubuntu in C++
I want to create a Screen Shot application for Ubuntu in C++ but i am not sure from where to start G...
[1 reply] : https://github.com/GNOME/gnome-screenshot Lots of careful study awaits... (by salem c)
what is the meaning about std :: vector < std :: vector <double> > COOR ;
// read the coordinates std :: vector < std :: vector <double> > COOR ;//???????????? ...
[3 replies] Last: That line creates an EMPTY 2D vector. Zero rows, zero columns The fi... (by Furry Guy)
Bash shell output incorrect with txt file input
Hi, I am new in linux programming, and going to build a bash shell with execvp() . My problem is w...
[2 replies] Last: Hi, thanks for reply! Yes, I didn't learn read() well, and that's the... (by ray210618)
Programming on C++ in linux
Is there any IDE which works exactly like vs on Windows so I could do the exam in the same way I pr...
[8 replies] Last: I can't understand why anyone would care enough to bother. Not havin... (by Furry Guy)
How do I manage multiple version on GIT
I want to upload some code to github. That I can do this with (Let’s call this version 1.0): ...
[4 replies] Last: Thank you this is what I was looking for! (by jenniferruurs)
Making my first makefile
Hi, I'm trying to create a makefile, but I have some confusion. Here is my makefile… CXX = g++ ...
[6 replies] Last: GNU Make has a whole bunch of defaults. You can see them with make -... (by kbw)
by colt
Program cannot open file in another distro
Hello. I decided to try to run a program that I did in another Linux distro. It runs, but at a cert...
[5 replies] Last: > That seems to require Linux/Unix specific headers so I can check for... (by salem c)
How to power-up/down camera with V4L2?
Hi! I'm trying to find a way to power-up an OV5645 image sensor in my system (Dragonboard 410c runni...
[3 replies] Last: Finally I've found how to power-up this camera module: 1. Configure th... (by oliverchen)
Can't use ioctl() to control a device owned by kernel module?
Hi! I failed to use C/C++ to access the image sensor OV5645's register on my system via I2C bus. Be...
[3 replies] Last: The root cause of this symptom is: OV5645’s kernel module will turn ... (by oliverchen)
  Archived months: [sep2019]