• 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]
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)
by Habor
(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 Habor)
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...
[1 reply] : > And from my understanding #include copies and pastes code from anoth... (by salem c)
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)
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...
[6 replies] Last: Buffered output works by writing into a memory buffer, and flushing th... (by kbw)
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)
Visual Studio Code
Hello everyone, I would like to start c++ coding with linux now. I enjoy both operating systems ...
[14 replies] Last: I also see you post about certain aspects of coding that were crucial... (by jonnin)
[Beginner] How Do I Install Debian Buster on Dell G3 17?
Hello, I have a question regarding installing Debian Buster on my Dell G3 17 laptop. Right now, my ...
[3 replies] Last: I tried installing RHEL(Red Hat Enterprise Linux) and it was incompati... (by rjphares)
Flex fail on second program
Hmmmmm, our crystal ball is broken. Impossible to say what is wrong without seeing your source and ...
[no replies]
Sockets Non-blocking and Timeouts
Hello guys,I'm new to this forum so if there is something i should be knowing regarding the format o...
[3 replies] Last: format code in code blocks (<> over in the edit panel). Anything else ... (by jonnin)
by anshah
C/C++ printing UK pound symbol from wint_t
I am on a Linux system and set the keyboard setting to UK in order to capture and print out a UK pou...
[1 reply] : reproduces here https://wandbox.org/permlink/2Mcibc0RATpyYJ6H fix: mo... (by Cubbi)
  Archived months: [aug2019]