UNIX/Linux Programming - April 2010 (Page 3)

Hash Calculation
 
Respected Users. I am implementing a kind of hash table in my simulations. I have a message which contains (Timestamp, Random Number, and Location (x,y)) info...
[no replies]
how to make a keyword searchable hash function/table
 
I need to, upon receiving an input file with strings of song names, be able to create a hash table of them that is searchable by keywords. ie. if my input fi...
[4 replies] Last: If you want your searches to be case-insensitive, store the keyword ke... (by Rambetter)
C++ serial port comunication problem
 
Hi at all and very compliments for the great forum! I have a little (big) problem with a program, because open the comunication, read buffer, but returns s...
[1 reply] : suggest, you need to check return codes from all your functions and pr... (by choisum)
by vvadan
API / function for checking CPU usage by a process
 
what is the API / function for getting the percentage of CPU utilisation by a given process?
[1 reply] : man 2 getrusage This C function will give you a lot of informatio... (by Rambetter)
by hasmik
the use of `tempnam' is dangerous
 
Hi all. I have a C++ code #include <stdio.h> int main () { char n1 ; char * n2; tmpnam (n1); printf ("Tempname #1: %s\n",n1); ...
[4 replies] Last: Thanks for help. (by hasmik)
by herbey
shared memory not same address
 
hi, I want a server process to create a segment of shared memory and a client process to be able to access it. I am using the following code. Server: void ...
[4 replies] Last: all processes are on the same machine oth, why not just use t... (by choisum)
boost cross compilation
 
help me to get cross compilation steps for boost library.
[5 replies] Last: this is the same procedure for any OS. boost depends heavily ... (by choisum)
by airkh
pthread with the class
 
I want to use pthread with the class. #pragma once #include "jobtype.h" #include <stdio.h> #include <pthread.h> #include <queue> #include <string.h> #i...
[2 replies] Last: I'll try that. Thank you so much, writetonsharma. (by airkh)
Starting on Linux 2
 
Hi, I've asked a question before, about what I can use to replace the winapi when programming for Linux. Now I want to know what I can use for making the GUI...
[9 replies] Last: Qt has opening these days. why dont you give interview their and enjoy... (by writetonsharma)
April 2010 Pages: 123
  Archived months: [mar2010] [may2010]

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