• 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 socket function recv is so slowly
recently , I meet a question about the function recv of socket programming, let me introduce the ba...
[no replies]
Cant use void in c4droid android app.
Hi, I am using c4droid android app to compile. But, when I use void main() it shows me an error ...
[2 replies] Last: void main() is not standard and is thus not supported by default by th... (by rabster)
Detect what words contain in the RECV
Hi, I am doing a chat Server + Client, when client reply "You are beautiful", server will detect...
[7 replies] Last: didn't knew that... thanks BTW can't we just load the library? (by programmer007)
What is the difference between Linux and UNIX operating systems?
Hiiiii, What is the difference between Linux and UNIX operating systems?
[2 replies] Last: Hi, http://www.diffen.com/difference/Linux_vs_Unix In a nutshell UNI... (by programmer007)
Questions about makefile
I looked some makefiles wrote by others. There are some questions about arguments. 1. Sometimes I s...
[2 replies] Last: The only difference between using an -l option and specifying a file ... (by buddha87)
Socket client, can I use any source IPs?
When we create a socket for client side, we still can use bind to bind a IP address with client sock...
[no replies]
FRESH Beginer, Learning to use a '.h' '.cpp'
#include <iostream> #include <vector> using namespace std; class Vector{ private: v...
[2 replies] Last: your .h file would look like this #ifndef VECTOR_H #define VECTOR... (by MCCodo)
Restarting a game in OpenGL?
I am working on a project for my c++ class, and we are asked to do some extra work on our moon lande...
[5 replies] Last: There are quite a few ways to do that, this is a simple enough operati... (by newbieg)
by ushas
cannot understand pthread condition variables
Hi everybody, I'm trying to understand pthread condition variables. For doing so, I wrote a very bas...
[no replies]
by Euler
Passing in Array output into Main from different files
My problem: I need to create an array of 4,294,967,296 entries (max un-signed int) based off o...
[2 replies] Last: Code: Hello #include <iostream> using namespace std; int main() { fo... (by newbieg)
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)
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)
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)
Pages: 12
  Archived months: [apr2016]