UNIX/Linux Programming - May 2020

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)
  Archived months: [apr2020] [jun2020]

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