UNIX/Linux Programming - June 2011

by Jsel
Beej's networking example not connecting
 
Here is the server code. /* ** server.c -- a stream socket server demo */ #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <errno.h> #inc...
[2 replies] Last: OK, I guess it randomly decided to start working after I restarted the... (by Jsel)
how to stop preemption
 
Dear Friends, I am building a simulator for a distributed system i.e. for multiple nodes, by forking for each node. Each node runs in a loop and does a big c...
[1 reply] : All the processes in the world wants to keep the processor for ever. (by writetonsharma)
fork + SIGCHLD
 
Hi everybody, I have a question regarding SIGCHLD. When parent creates new child using fork, is it guaranteed that SIGCHLD will be delivered to parent onl...
[5 replies] Last: Hi sharma, No need for apologies :). We are all learners. In that ca... (by nkumar85)
by gosy90
Serial Programming with Embedded Linux
 
Hi, I use a Embedded Linux System to communicate to a Trinamic 351 Card via USB to RS232. Therefore I have been looking for several forums. The found listings ...
[no replies]
by nevixa
Server with multiple clients and timing
 
Hello all, I want to make a 'monitoring' server that can have multiple connections (over network) and measures if a client is up/down. So every client sends hi...
[1 reply] : Well, your server will only do anything when it detects a new connecti... (by kooth)
The problem from a book called C++ primer
 
the book page 401(yes,It is a Chinese edition).Say about "const static" parameter the book says,When a const static data member is initialized in the class bo...
[no replies]
what do I learn C++
 
I am reading c++ primer ,and I think c++ is more complex,and I need know more about it.But there is a doubt about this.I think the best learn method is projec...
[5 replies] Last: Thanks my friends.I will try my best to learn English well. (by PowerLinux)
Error
 
/* * File: main.cpp * Author: ashish * * Created on 17 June, 2011, 3:06 AM */ /* * * */ //Standard C++ headers #include <stdlib.h> #inc...
[2 replies] Last: oh i solved it (by ashish verma)
accessing data in file by first character in line
 
I am working on a project management program and I am having trouble figuring out how to search the project file for the source file list. This is what the proj...
[4 replies] Last: I get it now. Thank you. (by RankoKurotsuki)
by tsa45
kill pthread
 
Hi every one: I have a newbie question about killing a pthread.. Assume that, I have thread A, A creates some child threads using pthread_create(). The prob...
[2 replies] Last: In UNIX, if any thread of a program ends abnormally, the entire proces... (by jsmith)
MySQL Connector/C++
 
Hi, I am using Ubuntu 10.04 and Netbeans IDE for C++ development work. I am not able to setup my MySQL Connector/C++ properly its all mess. Anybody if have...
[6 replies] Last: can you please tell me which IDE you prefer to use for C++ in Ubuntu ... (by Athar)
data sending through usb
 
hi all i need to send the video data to external device through usb, i need c code to transfer that video data, can any one help me , os ubuntu 10.04 usb cab...
[no replies]
Call a windows application under linux c++
 
Hi there, I need to call a windows programme on a linux c++ code in order to finish my job. I do not know how to do this. Does anyone have some ideas?
[3 replies] Last: well, well, well.. you can use the system() function, and call wine. ... (by andrezc)
by holtaf
timeGetTime
 
Hi all! Can you tell me please ? How can I get system time in Linux ? Is there any function like timeGetTime in Windows ? Best regards holtaf
[2 replies] Last: You can get you system time using the standard library. Foe example: ... (by andrezc)
Getting user's uid with C
 
hi, I need get current user uid with C. My program want root's permission to be execute. For exemple: if (uid != 0){ printf("You is not a root use...
[8 replies] Last: Thank you, man. And sorry for my bad english, i'm from brazil. (by andrezc)
I am a starter to use C++ in Linux Platform.How to start?
 
Hi,my dear friends I am a starter to use C++ in Linux Platform.How to start?My plain as follows first ,I will learn more about c++ .reading more books, <c++ ...
[6 replies] Last: Do you know Anjuta? It's a good IDE for developer on Linux. And you ca... (by maximilianus)
Convert from CIE to RGB with Xlib
 
Hello peoples! I'm new programmer in *NIX, and I need in method of converting from CIE colour format to RGB colour format with Xlib. I don't find this method in...
[1 reply] : You need a graphics library to help you do that. Search internet for s... (by sohguanh)
system() function call question
 
I am currently writing a program to manage my programming projects. It is currently only going to manage C++ projects, but I plan to expand it to other language...
[1 reply] : I don't know if system() goes through the shell. If it does you could ... (by kev82)
XOSD Help!!
 
I've been developing a program over the past few weeks in Ubuntu and it's going well.. The program is simple and straight forward. Change desktop wallpaper b...
[no replies]
Server Problem !! (I hate C++)
 
Hi everyone, Sorry for my title, But This language make me cold to programming language.I was a succesful programmer but C++ uwww its horrible.. Anyway, I hav...
[4 replies] Last: thank u for attention, but i gave up to finish this task. I will focus... (by ertan2002)
June 2011 Pages: 1234
  Archived months: [may2011] [jul2011]

This is an archived page. To post a new message, go to the current page.