• 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 you learn the command line?
I’m not asking about some tutorial for how to master the linux command line. What i mean is, how ...
[4 replies] Last: As @zapshe said, experience. I started with with a few to get started... (by kbw)
Figure out the size of a datagram
So I was perusing the c++ and networking tags on S.O. today and I kept bumping into separate but sim...
[8 replies] Last: 1) I don’t understand this statement / question. What are you referr... (by highwayman)
by koce
Unnamed pipe and streams
Hi guys, I did some code to experiment with unnamed pipes in C/Linux, and all went fine using read/...
[3 replies] Last: I guessed as much lol, I’m glad your program was fixed. :) (by highwayman)
sscanf mess up variables only under Linux
Hi everybody, recently I've decided to update a c++ programs that I've written for Windows in order...
[3 replies] Last: Thomas1965 and salem c, thank you both for your reply and the other t... (by TomaLars)
by o1zys
File paths appear to be resolved relative to source
I'm doing some asynchronous asset loading for a game, and I'm stumped by what seems completely weird...
[12 replies] Last: OK, it turns out it's a macos-specific caveat of "glfwInit()" that I h... (by o1zys)
Communication between two binaries
Hi there, I hope this is not a double. I have already searched the web, and came across ABIs, API...
[2 replies] Last: Thanks uplime. I will do some research using that "keyword" and see if... (by santigua)
Linking to library
I have doubt when there is need to link library. Suppose, I have a exe prog.exe which referring ...
[3 replies] Last: Now its clear to me. Thanks to both of you helios and keskiverto. (by akash16)
Synchronize two processes using a shared library.
I am developing a C ++ class (MyClass.cpp) that I will compile as a dynamic shared library (MyClass....
[3 replies] Last: Have you come across the Boost.Interprocess library? https://www.boos... (by MikeyBoy)
Newbie Linux Programmer
Hi, I am looking to move across from windows to linux but i don't really know how to get started....
[2 replies] Last: C++ might be ubiquitous, but the toolset isn't. Moving from Windows/V... (by kbw)
Parallel Programming
terminate called after throwing an instance of 'std::logic_error' what(): basic_string::_M_const...
[4 replies] Last: Show your code, please @faruk61 This isn't the first thread where you... (by lastchance)
No pbr in extern call?
I'm trying to do a pass by reference in an extern function call. extern void getCpuid(int &a, int...
[1 reply] : kernel.c You're trying to compile C++ syntax as C. Should I instead... (by Ganado)
codeblocks doesn't show console
that is standard hello world program linux mint last stable version -------------- Build: Debug in...
[7 replies] Last: Since Mint doesn't automatically install xterm, I normally just take t... (by jlb)
How can I check if any thread is asleep? and how to wake them up?
Following is the question, "Implement an "alarm clock" class. Threads call "Alarm:GoToSleepFor(int...
[3 replies] Last: Just use sleep. The only tricky part is that sleep can return early, s... (by dhayden)
by ravss2
Problem running IPC(Msg Q) on two terminals
Hi, I am trying to run two processes one to send and other to receive few messages using message...
[9 replies] Last: It makes sense for every user to have their own /tmp (including it see... (by salem c)
Hanging on fscanf of pipe (1,2)
So I’ve been making a little class that is supposed to allow me to use an sql repl, but I’ve bee...
[23 replies] Last: WORKS!! thank you guys so much for helping me out I very much a... (by highwayman)
Exporting xcode project
I have built a mac application that runs as intended on my mac. Now I am trying to make a standalone...
[no replies]
Mac Executable Difficulty
I have been working on a game using SDL2 and the Soloud audio library using VSCode with clang as my ...
[4 replies] Last: Thanks a lot for your help, I have managed to find a way to make this ... (by dangerawaits)
Find char sequence inside char array
Hello i am trying to make a program witch will find a sequence of chars inside char array, but my pr...
[2 replies] Last: You really should use the code format tags, code's pretty much unreada... (by kbw)
Creating pipe,fork,exec, dup
Please help! this is the assign: The purpose of this assignment is to make sure that the students c...
[3 replies] Last: Here's one example. #include <iostream> #include <sstream> #include ... (by salem c)
  Archived months: [apr2020]