• 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]
by huwei
Compile Error, open -std=C++11
Hi C++ expert: I found a problem. I wrote a demo that opened and read a special file. It runs ...
[7 replies] Last: http://man7.org/linux/man-pages/man7/feature_test_macros.7.html These... (by keskiverto)
How can I make Webkitgtk store cookies for logins?
I have a project in cpp at https://github.com/devab-lab/cnc . How can I make the webkit store logins...
[2 replies] Last: I have tried researching on how to use WebKitCookie manager but im gee... (by bretjoseph)
How to speed up program?
I’m supposed to measure the time in seconds but not constantly access it. I’m supposed to set a ...
[2 replies] Last: > However, my code is too slow. Well having sleep(1) in the middle of ... (by salem c)
trouble with race conditions?
I'm supposed to allocate a shared memory segment that contains an integer variable and set it to zer...
[3 replies] Last: Line 12: SMHSZ is redefined from the line before. Why? Line 29: sbuff ... (by dhayden)
linking xcode with Buddy library
hello i'm trying to linking buddy library with xcode c++ to use it .. i have dependency problem ...
[no replies]
TCP client terminating abruptly without any error message
I have created a TCP server-client application in C++, where client first sends login request and se...
[1 reply] : What sort of error checking, recovery, retry do you have? Are you ass... (by salem c)
by tutu10
Kickstart Config file not working on the exam
I had issues with the installation of a vm. I suspect that there were issues with the kickstart conf...
[1 reply] : Did you really use example.com on your command line, or did you substi... (by salem c)
Get the sum of only a specific group of elements in a vector
Hello, I have a sorted vector and my operation is to get the sum, but only for the group of numbers ...
[4 replies] Last: This is brilliant. I am extremely thankful for the time and interest y... (by AkshayMalige)
take a baby step in mutex programming, result is unconclusive
Here is my code I "designed". 1. Mutex is a global var. 2. CONFIG_THREAD_COUNT number of threads ...
[16 replies] Last: I understand what you're talking, but I've no idea what you're taking.... (by salem c)
Printing any box drawing character permanently kills wcout
There's some weird issue with my program that's been torturing me for like 2 hours. This is my last ...
[16 replies] Last: Switched to std::wprintf and everything is fine now. Sorry, lol... (by LoganDark)
Lennard Jones
The code (C language) is about molecular dynamics using the potential of Lennard Jones. The code is ...
[1 reply] : I've reposted your code with code tags, which you should do from now o... (by kbw)
List getting corrupted
4 threads are runing this function processthread and i am taking a lock while adding at g_cProcessMu...
[2 replies] Last: Extending the lock to also cover g_cProcessList.empty() as well. I t... (by dhayden)
missing events in 'poll'
Hi everyone! I am missing some events when executing 'poll' system call. Here is an example code:...
[2 replies] Last: Hi Salem! Yes, definitely 'pipe' solved my problem, because I can't a... (by hebrerillo)
General Question about Website Programming
I am just curious as to how to set up a website - I can do simple web stuff like html, css, etc.., b...
[2 replies] Last: HTML, CSS, SQL, PHP, Ruby, Python and JavaScript are a few of the comm... (by shivkumar12)
thread id question
I am going over c++ concurrency and have question for those well versed in this area. I used simple ...
[1 reply] : No, there is no such expectation. C++ threads on linux are implemente... (by Peter87)
by colt
"cannot execute binary file"
Hello, I recently tried to compile my program with: g++ -o RayTracer PerformanceManager.h Perform...
[1 reply] : Hi, Some tips: Normally one doesn't compile header files, because th... (by TheIdeasMan)
Mac Mojave update making me unable to read SDL2 frameworks.
I recently installed the update to Mojave, and it turns out that it has broken a lot of my code. The...
[3 replies] Last: I would recommend you to try Xcode simply because of the drag and drop... (by poteto)
Access to data of struct msghdr in C
Hi! Linux RT (am3359). C (not C++). I can't access the data of struct msghdr msg. I have received t...
[3 replies] Last: About sock_recvmsg : \board-support\linux-rt-4.14.67+gitAUTOINC+cfb7... (by VLeshka)
gcc-5 build config log
I am planning to build the debug version of gcc-5, specifically gcc-5.4.0-6 16.04.10. I am doing th...
[13 replies] Last: I reran the build on each machine - it runs to completion ending with ... (by CPPAWhile)
  Archived months: [nov2018]