• 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]
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...
[1 reply] : We really do need some more information to answer your question... (by tcs)
Disk Space Usage Profiling
 
Hi all, I am running C++ program on Linux, This program creates temporary files on the Hard Disk t...
[1 reply] : If you don't have access to your programs source code then you may wri... (by tcs)
Insert char(0) into Mysql
 
Hi, I write in c and use mysql.h. It works :) I need to write a char * into my Mysql's table. ...
[5 replies] Last: I thought MySQL would automatically convert \0 into a null character. ... (by Peter87)
Memory Map - Is It Possible To Create A Pointer That Points To Specific Address?
 
I am currently writing a program that requires me to find certain files in map based on their permis...
[5 replies] Last: Figured it out, for those who see this, 1) convert it to long int usi... (by ChillMick)
Error Help
 
I am writing a code for my c++ class that is a very basic form of tetris with only one block. As of ...
[2 replies] Last: Could you explain that a little further? I am very new to programming ... (by jkotsch)
3 arguments to main???
 
I stumbled across this ( http://www.bogotobogo.com/cplusplus/cplusplus_keywords.php ) article which...
[2 replies] Last: Thank you so much. Your answer makes perfect sense. Thank you for expl... (by da peppester)
by sever
Searching for a network function...
 
Hi folks, I'm working in a daemon that needs to identify if a binded node (identified by an addre...
[1 reply] : Do you mean something like these: http://www.retran.com/beej/sockaddr... (by keskiverto)
Detect what words contain in the RECV
 
Hi, I am doing a chat Server + Client, when client reply "You are beautiful", server will detect...
[no replies]
passing char array to a function
 
Hi every body I need to know how I can pass an char array's elements such as argv = "./run_singl...
[1 reply] : Try run_single_zone(5, argv); (by Peter87)
FRESH Beginer, Learning to use a '.h' '.cpp'
 
#include <iostream> #include <vector> using namespace std; class Vector{ private: v...
[1 reply] : > vector<int> * myvect http://www.cplusplus.com/forum/general/138037/#... (by ne555)
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: ...
[1 reply] : It's strange for inet not to be available. Have you thought about jus... (by Krisando)
Linux Keyboard Events
 
Hi All, I am building a small game engine for the Raspberry Pi using OpenVG. The graphics side of ...
[no replies]
by MCCodo
New to linux kernel
 
Hi I bought a book called Linux kernel development 3rd edt. by Robert Love. My question is "Is...
[2 replies] Last: http://stackoverflow.com/questions/10469188/is-it-possible-to-develop-... (by keskiverto)
Regex giving wrong result?
 
I'm trying to parse this input: wc -w -l -c text.txt using this expression: ^wc (?:(-. )*)([...
[4 replies] Last: that kind of is a C code :/ I'm forced to use C for this (by mekkatorqu)
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)
Pages: 12
  Archived months: [mar2016]