• 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 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)
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...
[no replies]
kdevelop
 
I just installed kdevelop on linux. I'm trying to figure it out. The build button is greyed out and ...
[4 replies] Last: "MATE" is a desktop environment, not a distribution. They want to know... (by dutch)
by bembel
Odd behaviour with own sqrt() using gcc __asm__
 
Hi, I wrote a quick sqrt()-function: double sqrt(double n){ __asm__( "fsqrt\n" ...
[13 replies] Last: I can't see that being useful since a long time ago (about 1994 when a... (by jonnin)
linux function
 
I don't understand what this return means, the parenthesis mean casting but what then would the brac...
[4 replies] Last: It wasn't a bug in sendfile I used mkdir first, but I gave it 0644 as ... (by alfie nsugh)
Compiler in MAC
 
Hello, I have the latest xcode version installed in xcode and terminal. I also have the lastest h...
[4 replies] Last: I have to manually input: g++ -std=c++17 example.cpp You can put tha... (by talos)
by Bennda
prerequisites for linux programming
 
hi everyone, I'm not much of a computer programmer .I've learnt a bit of c for semester.I would lik...
[3 replies] Last: > I'm not much of a computer programmer .I've learnt a bit of c for se... (by talos)
types and casting
 
Hi guys, so another casting question, in the below code I have a function addNumbers which returns ...
[6 replies] Last: Those pointer casts are all reinterpret_casts. Reinterpreting the unde... (by dutch)
Linux froze and got back working 5 days later, no reboot.
 
Hello my friends, I've come across the weirdest of glitches. I'm running a simple weather mon...
[2 replies] Last: finally, proof! Linux IS better than windows, it self repairs and nev... (by jonnin)
Buffer overflow attack
 
Hi i am doing a an assignment and was wondering if anyone can walk me through of doing this. Imple...
[15 replies] Last: used a different linux machine and got it working. Thanks Dutch ! (by MrBuff4)
  Archived months: [jul2019]