UNIX/Linux Programming - October 2019

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)
  Archived months: [sep2019] [nov2019]

This is an archived page. To post a new message, go to the current page.