UNIX/Linux Programming - August 2017

Only outputs half of my code on linux
 
Hi everyone, I'm new to using linux. For my college project I have to use three different sorts and I'm working on my bubblesort first. My code runs perfectly ...
[3 replies] Last: Sorting was my first project in high school, so long ago that 1000 ite... (by jonnin)
by Borneq
How to handle keyboard and caret in terminal?
 
I am writing console program. It uses xterm, gnome terminal or another. I am using getline( cin, table ) If I press arrow up , it write ^[[A, but I want histo...
[2 replies] Last: https://linux.die.net/man/1/rlwrap $ rlwrap ./a.out (by ne555)
by tario
How to load a ublas compressed_matrix with data in CSR matrix format?
 
Hello, I want to transfer a sparse matrix from application A to application B. I wrote a function to convert the original matrix (LDU format) to CSR forma...
[no replies]
Whether is shared memory only accessed by shmid?
 
Hello. Recently I began to get into the unix's advanced IPC topic. The most efficient method in IPC is the shared memory. From the unix environment advanced pro...
[6 replies] Last: Using the shared memory block safely and efficiently are add-ons. I m... (by blackwall)
by Borneq
Example not linking with LLVM
 
Is any LLVM users group? I see only dev mailing lists and dev Google group. I try compile https://github.com/borneq/llvm-toy inside Code::Blocks IDE. command:...
[1 reply] : https://github.com/halide/Halide/issues/1243 (by kbw)
Beginner
 
Which book is the best to learn with cplusplus linux
[5 replies] Last: +1 (by Duthomhas)
Max voltage output of DS18B20
 
I am using the DigiX board and trying to connect a DS18B20 (one wire temperature sensor). One of the issues with the DigiX is that it can only tolerate 3.3V ...
[2 replies] Last: FEATURES  Unique 1-Wire ® Interface Requires Only One Port Pin f... (by closed account 48T7M4Gy)
undefined references
 
Hi, I'm attempting to compile some code but keep coming up with same error messages: main.cpp:29: error: undefined reference to `ki18n(char const*)' main...
[2 replies] Last: You are right -- you must link with KI18n ( -lKI18n ). Make sure to ad... (by Duthomhas)
Client/Server communication sending the wrong values to client
 
I wrote a client and server. The only issue I'm having is that when I look through my vector of structs for a value that was requested by the client in the tabl...
[4 replies] Last: @kbw Thanks for helping me out and clearing things out for me. Thanks... (by plsalinas)
  Archived months: [jul2017] [sep2017]

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