UNIX/Linux Programming - May 2011 (Page 3)

Matrix multiplication using threads
 
Can someone suggest me how to do multiplication of two matrix using thread? The thread handling can't be done using pthread.h or any other available libraries. ...
[2 replies] Last: pthreads is the way you use threads, unless your particular OS has som... (by kbw)
factorial using pipes
 
....
[2 replies] Last: You don't have to hide your question and don't feel bad. Its normal, n... (by writetonsharma)
change ISO standard C++
 
Hi Can you help me, I am trying to compile an application, but I keep getting the following error: ISO C++ forbids declaration of ‘RefPtr’ with no ...
[7 replies] Last: then I would try either using namespace Radiant; using namespace Mul... (by kfmfe04)
console messagebox example
 
i new in cpp. I write calc for console and it working fine. I want make it grafical in console. I try lib http://tvision.sourceforge.net/ but unfortunately ca...
[no replies]
terminate called after throwing an instance of 'char*' Abort trap logout
 
Hi, I am receiving this error after pressing return when I execute the .exec file, but the code runs fine when I do it through the terminal with ./ Any way...
[2 replies] Last: Yes, I have tried to. What I meant was that the program runs fine when... (by closed account yb0iE3v7)
by bacpp
makefile q?
 
hi, can you pls tell me what $@ implies when you write $g++ test.cpp -o $@ thanks
[2 replies] Last: thanks kfmfe04, also thx for the link! (by bacpp)
by wAy
Libarchive - problem when creating archives
 
Hello, while trying to create an tar.gz-archive using libarchive I have big problem: The archives where created, but inside the archives I found the compress...
[2 replies] Last: Thanks for your help! I checked those error strings already, but ther... (by wAy)
by ne555
Time limit exceeded (or how to kill my children)
 
I want to put a limit in the time a process could run. First try #include <unistd.h> //... alarm(limit); if(execv(program, args) == -1) per...
[1 reply] : If you are doing this on Linux, I can answer your last question: use L... (by PanGalactic)
Altenate simple Client program
 
Hello!Thanks for your time reading this.I was doing a Client/Server app programming the server had following routines: socket(); bind(); listen(); co...
[5 replies] Last: Have you checked what's been sent by both sides on the wire? You need... (by kbw)
by ameen
command to compile and run the multiple file
 
Hi I am beginner in C++ and I am trying to create multiple files and executing them in gcc. Can any body please help me which command will be use to compile and...
[2 replies] Last: Use the concept of Makefile for this...although you can do without it ... (by ankitsingh12)
Compile file template.h in C++ ?
 
I have some problem when compling with C++ in linux. Please help me. Compile: g++34 -m32 -c allocate.C But error when compile? Source code: 1. allocate.h ...
[8 replies] Last: [co de] "Please use code tags" [/co de] If you want to separate i... (by ne555)
Ask for suggestion on a data structure problem
 
Hi All, For each element in data1, I need to figure out what elements in data2 are related to it. Also, for each element in data2, I need to figure out what ...
[1 reply] : This may be worth a look: http://code.google.com/p/google-sparsehash/... (by kfmfe04)
In file included error.
 
Hi there, I need someone's help to resolve this issue. I have one header file, LocationData.h and one source file, LocationData.cpp. When I debug the p...
[3 replies] Last: That tells you where the error message is, but it must surely tell y... (by anonymous23323124)
warning when someone logged in via ssh
 
Hi, Please give any idea. when users logged in via ssh or telnet to my machine. any warning message with logger details printed for me alone. please s...
[no replies]
by sever
Getch alternative...
 
I'm searching -with no success for the moment- in books & google to find a function or method to get strings from standard input (stdin) but without echo on the...
[2 replies] Last: yes - ncurses works for GNU/Linux (by kfmfe04)
Redirection and Pipelines
 
I haven't been able to find this file within my directories and heard that this was an easy way to do it, but I am new and do not understand how to do it.What c...
[1 reply] : On the command line, find ~ -name "*.cpp" | xargs head -10 will fi... (by kfmfe04)
how to do this recursive program?
 
hi int main(int argc, char *argv ) { cout << "Enter a string: "; string input; getline(cin, input); vector<string> v = generat...
[4 replies] Last: errors are In function `std::vector<std::string, std::allocator<std:... (by iamuser2007)
Linux questions
 
hello everyone. i am considering to instal Linux (Ubuntu)at my laptop. Before i install it, i have some questions. is Microsoft Visual studio 2010 usable...
[2 replies] Last: Make sure you can switch back to Windows if you don't like it. I inst... (by closed account 3hM2Nwbp)
May 2011 Pages: 123
  Archived months: [apr2011] [jun2011]

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