• 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 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]
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...
[1 reply] : I don't think timeouts are meaningful in non-blocking mode. (by dutch)
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)
Visual Studio Code
 
Hello everyone, I would like to start c++ coding with linux now. I enjoy both operating systems ...
[3 replies] Last: unfortunately, I haven't figured out the visual studio code for linux ... (by Cjigsaw)
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 l...
[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)
by poseid
Insights into building shared lib
 
Hello, I want to build a shared lib (incl. Boost dependencies). In my CMakeLists.txt I can add th...
[1 reply] : STATIC puts the code in a .a that gets statically linked when you buil... (by helios)
by jonnin
Linux programming for beginners
 
the first thing to do is review the available compilers / IDE/ tools and make an informed choice. Yo...
[3 replies] Last: Linux is an operating system, platform, ecosystem, and culture. While ... (by simpliv)
redirectmatch negative lookahead regex
 
I came across the folllowing redirect match for Apache on the following site: https://www.hyperborea...
[1 reply] : Presumably because a negative explicit case is easier to come up with ... (by salem c)
Undefined reference on GCC while in Visual C++ links normally.
 
EDITED: Because the code quotes seem messed up, I created a file on my github repo with the g++ ...
[6 replies] Last: By the way, I solve it! The problem was that I had a copy of libVampEn... (by babaliaris)
email
 
I am using the ubuntu bash shell on windows 10 and can't send an email to myself. What am I doing wr...
[5 replies] Last: off topic is fine, but there are multiple mail clients on most unix ma... (by jonnin)
Lego Mindstorms ev3
 
Is the c++ language compatible with Lego Mindstorms ev3 and if it is, what do I need to do to to get...
[6 replies] Last: ok thanks (by ClaytonM223)
by pour
/usr/bin/ld: cannot find -lioutil
 
Hi, I want to do makefile as the following, but I received this error: gcc frparse.o frtags.o ...
[1 reply] : From a command prompt, do ls -l /usr/local/image/lib/sgi You should... (by salem c)
  Archived months: [may2019]