• 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]
Destructor with unique pointer and threads
 
Hi there! Take this example code : #include <stdio.h> #include <string.h> #include <thre...
[1 reply] : Line 45: myqueue.push(std::move(element)); should be: myqueue.empl... (by kbw)
multiplexing using poll() or select
 
Hi there, I am to write a program with the following specifications: 1. Parent process creates 2 ...
[3 replies] Last: I kinda forgot. All this talk of file descriptors, what FDs do we use... (by kbw)
race conditions with promises
 
Hello there! I am running the 'promise' example showed in this link of cplusplus.com using a file...
[2 replies] Last: Thanks poteto!! (by hebrerillo)
Differences between Linux and Windows operating systems
 
Open Source: The Linux operating system is an open source operating system, meaning the source code...
[7 replies] Last: Is Linux more secure than windows, or is it just attacked less? The ... (by dhayden)
Estimate the value of PI using Monte Carlo method
 
I am struggling with an assigment here. Case: Write a program in C++ that estimates the value of ...
[2 replies] Last: Many thanks @ne555 for pointing that out. I fixed it and the progra... (by blongho)
by sage12
Can anyone recommend a good library that allows me to send emails using my gmail account?
 
I've been looking for a while and I can't seem to find anything that would just simply allow my prog...
[2 replies] Last: sage12, first let's see how to do it via command-line before we integr... (by Ganado)
atoi: unexpected behaviour
 
I am reading a mapping file (tab spaced columns) and for each line that the program reads it should ...
[1 reply] : It's hard to know what the problem is without seeing the code. If I mu... (by Peter87)
by osar22
How to setup a C++ project with MySQL Connector and CMake
 
Hi there, despite having developed applications in C++ for about two to three years, I never had ...
[6 replies] Last: From my quick google, it seems obvious that this is a bit problem, I d... (by poteto)
by PonasM
Application runs in ArchLinux fine, but doesn't work in Ubuntu
 
Hey. I have a little C++ program, that works perfectly on ArchLinux. However, when I try to run it o...
[4 replies] Last: Yep. When I lowered the terminal window size on ArchLinux, it also thr... (by PonasM)
by JJSM
Errors while running .exe files
 
Hello, I've been having trouble understanding the error messages that appear when I run this .exe...
[3 replies] Last: unix has permission things. That is, even if the file and folder are ... (by jonnin)
by step
how to increase the stack limit
 
Hello, I am having an issue when running my C++ program in Ubuntu with 2 external libraries (quite ...
[5 replies] Last: Modern mid-sized OS's can grow application stacks. But there is a pra... (by kbw)
'read' race condition without 'write'
 
Hi there! I am running a program with two threads under Valgrind tool 'helgrind', and the tool is...
[1 reply] : Is the matching source for __tz_convert? https://github.com/lattera/gl... (by kbw)
by cpp157
Using portable version of timegm() without affecting other processes
 
Hello everyone, currently I am using a portable version of the timegm() function (it's availabl...
[10 replies] Last: Ok. I got it. You have been of great help,thanks a lot! (by cpp157)
by RCane
Eclipse CrossCompile include issues
 
Hi everyone, I need help and sorry for the long read but I'm not sure what to call what I'm experien...
[1 reply] : But in eclipse even with the unresolved I can use 'F3' and open the f... (by Repeater)
by stav
readdir() ignore . and ..
 
Hi i have the following function that reads every subdir of a directory: bool doDir(std::string ...
[3 replies] Last: thanks (by Explorer Whiz)
issue with huge strings
 
Hi everyone! I have an issue when using huge strings. This is an example code : //file main.cpp ...
[2 replies] Last: Your problem isn't the insanely large string -- that's just a matter o... (by Ganado)
What project and compiler do i use?
 
I am a begenner who has started coding on linux from windows. I use eclipse ide, and i remember when...
[3 replies] Last: You *should* have the option of making a C++ project. It's possible so... (by Ganado)
by bitak
ComputeMField.C:28:3: error: expected ‘)’ before ‘!’ token
 
Hello all i am a beginner in C++ and i have got an error when I am running my code on Ubuntu. I wa...
[7 replies] Last: Hello again...I have a simple question! I am working with the source c... (by bitak)
by RCane
applications sharing states
 
If you have multiple applications that need to 'talk' to each other. What do you do or what do you u...
[2 replies] Last: Thank you! Mkfifio seems to be the way to go. (by RCane)
  Archived months: [jul2018]