• 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]
-std=c++11 or -std=c++98
To compile with some new c++ features i have to add -std=c++11 or -std=c++0x to the compile command,...
[3 replies] Last: What is the default? Try man gcc and search the description of the o... (by keskiverto)
by iydh
Hello guys! I need your help. I keep getting infinite loops when ever my answer is out from Y or N. ...
[3 replies] Last: @LadyInRed7 Why to put exit in main()? You should use it only when the... (by TheHardew)
What does getline do?
I am wrinting just part of the code int main() { std::vector<std::vector<double>> v; std...
[2 replies] Last: The description of std::getline is in the reference documentation: htt... (by keskiverto)
Switched to ArchLinux, code wont compile
I took the huge step from my Win8 OS to ArchLinux. Everything is wonderful except my file (which is ...
[5 replies] Last: It's all good. The snippet works perfectly. I got a little confused be... (by RealGiganitris)
by sr123
can anyone suggest how should i start learning for linux?
[9 replies] Last: few days of sitting in console and wondering why nothing's working T... (by keskiverto)
ifstream addressing file
Hi dear friends, I run my program under gcc compiler in ubuntu. It issues error: Assertion `ap...
[2 replies] Last: Verify that Folder+"/App.inf" exists on the file system. app ->na... (by kbw)
by helios
Uninitialized files
I was just doing some research for a project and came across SetFileValidData() on Windows, which ca...
[2 replies] Last: Just out of curiosity, I was wondering if there's a function like tha... (by dhayden)
How do I use C++ to interact with other applications?
I know my post is going to be vague, and that is a lot to do with me posting something in this forum...
[3 replies] Last: See http://beej.us/guide/bgipc/output/html/multipage/index.html (by kbw)
by nmmm
Database server development
I am developing a database server similar to Cassandra. Development were started in C, but things...
[2 replies] Last: You have to careful with casts. In C, it's necessary to cast all the ... (by kbw)
Generate python code out of C++
I would like to know if anyone of you knows about a library which is able to generate python code. W...
[7 replies] Last: Do you want to convert C++ code to the equivalent Python code? I don... (by Peter87)
OpenLDAP how bind to AD?
Hello! Please show a working example of C ++ as a blood pressure log on the server using OpenLDAP li...
[no replies]
How to read the system UUID in C++
Hi, I know that we can use "dmidecode -t system | grep "UUID"" in terminal to get the UUID of system...
[1 reply] : The dmidecode has GPL licence and thus its source code must be publicl... (by keskiverto)
getopt_long() function does not return ':' for missing in command line arguments
I am wondering why getopt_long() in the following code does not return ':' for missing values for th...
[7 replies] Last: It does work, there is no argument missing. ./a.out -k -s 3 //the ar... (by ne555)
vector subscipts
I have a vector of floats std::vector<std::vector<float>> items { { 0.1, 2.1, 1.1, 3.1},{ 1.2, 2.0,...
[6 replies] Last: So, you have N logical points, with x-coordinates in vector v and y-co... (by keskiverto)
I need help asap
i have this assignment to submit tonight by 4 am, and i have been working on it for the past days, o...
[3 replies] Last: Each record can be stored into one of the following arrays depending ... (by Gamer2015)
mv Command using system call in C++
I'm trying to move a file using mv command in C++. But I'm getting error.I've tried following code: ...
[2 replies] Last: Like Keskiverto said, you shouldn't be using system() but as far as th... (by giblit)
Playing Video in Unix
Need to run video in IMX6 board, not able to do so i believe i do not have qt plug in library. I am ...
[1 reply] : There is great help here in the forums: http://boundarydevices.com/ A... (by koothkeeper)
calculate prme numbers by threads
I have to calculate prime numbers between ranges by threads. example program run ./myProg 100...
[1 reply] : There are lots of problems, little technical ones like what does this ... (by kbw)
How obtain IP address of other Pc in C++ and ubuntu 14.04 ???
Hello I am beginner programmer and i make my final thesis of Magister in electronic art. My proje...
[1 reply] : accept() returns the address of the client for TCP and recvfrom() for ... (by kbw)
Pages: 12
  Archived months: [jun2015]