• 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 Berrrt
UDP socket problem
 
Hi! I had a working c program for a udp socket. For updating it to c++ I only needed to add: ...
[no replies]
Regex giving wrong result?
 
I'm trying to parse this input: wc -w -l -c text.txt using this expression: ^wc (?:(-. )*)([...
[3 replies] Last: I would make two regular expressions. The first one to capture all the... (by Galik)
by zezeon
c++11 concurrency error
 
#include <future> int main() { auto f = std::async( (){return 3;}); return f.get(); } ...
[6 replies] Last: Its better to use the compiler flag -pthread than the linker flag -... (by Galik)
Using xlib in c++ to outputn 8000 picture files
 
The program as a whole is supposed to output 8000 picture files to the screen. I been having trouble...
[no replies]
Double Parsing of Variable
 
Hi, I want to use some variables as Follows, int a = 6; char b = 'a'; Now I want to access...
[1 reply] : No, not the way you are trying to do it. This is a feature of "reflect... (by Zhuge)
GetAsyncKeyState(VK_ESCAPE) in c++ Linux
 
GetAsyncKeyState(VK_ESCAPE) can be used with windows.h but in linux how this can be used. please...
[7 replies] Last: my code is something like this #include <windows.h> //works in win b... (by ranasikandar)
Memory Leaks
 
Can any one explain about what is "Memory leaks" and where it's used?. I studied the Materials that ...
[4 replies] Last: You've got three types of allocation: static, automatic, and dynamic. ... (by MatthewRock)
Iterate Through Files In a Folder/Directory?
 
Hello -- I know how to read and write to files; however, might there be a way to iterate through ...
[1 reply] : The C++ in itself does not have (had) such functionality. Each OS has ... (by keskiverto)
Why CPU usage of daemon (accept) icreases so much ?
 
I'm writing a client-server application, using the accept() function like as follows, accept (soc...
[no replies]
by h3y4w
need help with small git project
 
Hello, I need some help with my git project which is a small console program that changes your MAC ...
[4 replies] Last: When using system() you can run just about anything as if it were a he... (by newbieg)
by Lana3
Matrix multiplication using fork
 
Can just someone tell some tips how to make that happen, because in my code i need to input n -> n...
[no replies]
by MCCodo
Declaration problem help pls
 
Hey everyone I have a little problem. I have installed lubuntu today on my old laptop.Then I crea...
[3 replies] Last: Please use code tags when posting code. See http://www.cplusplus.com/... (by keskiverto)
by alexBB
Please explain code
 
Hi there. My environment is Ubuntu 14.04. I am trying to work with the file legendre_polynomial.c ...
[6 replies] Last: Can we presume that you are familiar with the kinship of brackets and... (by alexBB)
Floating point exception
 
I have application compiled on rather NEW ubunto distribution (kernel 3.2.0-53-virtual) using g++ 4....
[3 replies] Last: I bet that ldd Bin/MY_APP shows that the executable still depends on... (by keskiverto)
copying/moving inside the terminal
 
So I tried looking on google and still couldn't figure out what I wanted. I have two different dir...
[2 replies] Last: rsync -av car/ truck/ Copies content of car into truck recursively, ... (by keskiverto)
Keep getting a Segmentation Fault from the following.
 
//This program is meant to allow the user to enter up to 10 words into an array, which will then be ...
[1 reply] : Minus a few minor typos, this works just fine for me. Could your compi... (by wizebin)
I need help with array
 
I wanted to print fibonacci numbers in given rage and i don't know how to do it. I wrote this: ...
[1 reply] : You don't need an array. You just need to keep the two previous values... (by keskiverto)
I need explanation on Unix and Linux
 
As far as I know Linux is an operating system just like windows and Mac, and there are lots of dis...
[7 replies] Last: Ok, no problem. Thnx (by omer123)
Backtrace shared library
 
Hi I have my main program , which is using dlsym to load shared object and executing it but shared l...
[4 replies] Last: http://stackoverflow.com/questions/77005/how-to-generate-a-stacktrace-... (by Moschops)
Pages: 12
  Archived months: [mar2016]