UNIX/Linux Programming - July 2020

by Borneq
Strange linker errors
First I make and install velocypack, it was easy. Next I try make arangodb/fuerte Compilation was...
[3 replies] Last: My trial of solution: https://github.com/arangodb/velocypack/issues/7... (by Borneq)
dup2 and printf
1.the code is shown below: #include <stdio.h> #include <unistd.h> #include <fcntl.h> #include <st...
[6 replies] Last: Mixing C runtime buffered i/o with OS unbuffered i/o; ok yeah, I misse... (by kbw)
stl map for Eigen matrix
How to use stl map for Eigen::MatrixXd ? When i try to directly use it as std::map<Eigen::MatrixXd,...
[2 replies] Last: This would seem to be the crucial part of the message: YOU_MIXED_DIFF... (by MikeyBoy)
64 and 32 bit system calls
so reading from this table - https://chromium.googlesource.com/chromiumos/docs/+/master/constants/sy...
[2 replies] Last: Maybe this helps: https://unix.stackexchange.com/questions/338650/why-... (by kbw)
Operating systems and C/C++
Hi guys, so the most popular operating systems are written in a mix of assembly,C and C++(lesser ex...
[3 replies] Last: so the linker and compiler would create an executable right? the only... (by helios)
exit from all nested shell script
How to exit from all nested shell script calls once in a single command? ..and if any way how t...
[1 reply] : Can you run your sub-scripts as 'source' instead of 'bash' ? If not, ... (by dutch)
Multi Threading Design Problem
Hi All, I am working on the Event Processing Module. Below is the requirement: 1. There will be...
[2 replies] Last: Not sure why you'd use a std::queue, you probably want a concurrent qu... (by kbw)
shell to remove the first ie. earlier file/folder of list pattern with pairs of almost identical
How do Bash shell remove the first ie. earlier file/folder of list pattern with pairs of almost iden...
[7 replies] Last: Like for example creating a file called '-rf', then try and remove it... (by dhayden)
by Nekota
how to connect or add winuser.h
Hello guys, i'm using qt creator on kali linux, tell me please, how can i connect winuser.h, windows...
[4 replies] Last: Maybe you can try this: http://www.kegel.com/wine/cl-howto-win7sdk.htm... (by Thomas1965)
by koce
getnameinfo and tcp connection
I tried reworking the getaddrinfo() / getnameinfo() example from the man page, https://linux.die.net...
[3 replies] Last: Thank you. It's clear there're lot's of advanced stuff to explore, on... (by koce)
by volang
getsockopt with SO_CONNECT_TIME returns the time a socket been connected, but on linux SO_CONNECT_TI...
[3 replies] Last: What do you mean by connection time? The server sits around waiting f... (by kbw)
by volang
No output with cout
What's causing this? The first instruction in main: cout << "We are alive"; // this is not pri...
[3 replies] Last: You can on Windows if SEHs are mapped to C++ exceptions, as they used ... (by kbw)
  Archived months: [jun2020]

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