• 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]
How to write the data in txt file into other txt file
 
I am working on reading the data from one file "file1.txt" having format 0 0.0003 0.0006 -0....
[3 replies] Last: #include <iostream> #include <sstream> #include <fstream> using names... (by lastchance)
Reading in a newline with getline loop.
 
I'm supposed to use getline to read in a joustdata.txt, and to ensure that the numbers read from the...
[6 replies] Last: Oh, yeah, I'm sorry I didn't pay attention to that, thank you so much. (by yagirlneedshelp)
Arguments passed to the command line not printed and the program loops indefinitely [Ubuntu/C++]
 
I'm trying to implement a simple command line program that takes three arguments and prints them on ...
[2 replies] Last: Loops indefinitely? I can't see why that happens, but note that your t... (by Ganado)
Why Glut Post Red Display isnt working?
 
#Question How to use GlutPOstRedisplay to render screen again and again... #My Workings I worked on ...
[1 reply] : if you have global `x', `y' variables, notice that you are not modifyi... (by ne555)
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)
  Archived months: [oct2019]