UNIX/Linux Programming - February 2011 (Page 2)

Using pthreads in Ubuntu
 
I'm a newbie to parallel programming. I'm trying to use pthreads to parallelize a program I'm coding...
[2 replies] Last: well, threads aren't neccessarily any better. 2 cores won't make muc... (by bigearsbilly)
Semaphore Deadlock
 
This problem has become very frustrating. This is supposed to be a simple program to create shared m...
[2 replies] Last: Yeah, I found the same thing; it works running in GDB, but not when ex... (by davermont)
pthread, passing 2d arry
 
I am new to thread programming. I need help casting an array so that it can be passed to a thread as...
[8 replies] Last: Thanks a lot for the great help!! Now my code got compiled properly. ... (by calculix)
Passing Arrays as parameters
 
I am trying to create a function that returns the length of an array. I am running into endless pro...
[9 replies] Last: Okay, thank you. It's been awhile since I've done C++, so I had compl... (by Falconus)
by ToRcH
Linux Console Color (the "\033[" way)
 
Hi all. I just wanted to help people in this matter since I too went through this and had some pr...
[1 reply] : http://ascii-table.com/ansi-escape-sequences.php http://ascii-table.c... (by kbw)
fatal error: clapack.h
 
Hello everybody. Some times ago, I wrote an own program on a Linux System without any problems. Now...
[1 reply] : If the file on your system at all? If so, fixup your include path to ... (by kbw)
Find* vs *dir
 
I've been converting a Windows App to a Unix App, using XCode. Nearly every error points me to the ...
[1 reply] : It might be helpful if you stepped back an looked at how POSIX directo... (by kbw)
setup new AIX environment
 
hi, i need to setup a new environment and bring forward some of the features from the previous en...
[2 replies] Last: thanks (by pathfino)
using more than 1 client file
 
Basically I need to make my own priority queue so I have a .C and Header here for constructing the p...
[no replies]
iostream library not available
 
I am using the CodeLite IDE. I compiled the following program using CodeLite (It is a C++ program): ...
[2 replies] Last: Thanks jsmith. Your suggestion worked! (by techningeer)
How to display the CPP program tree like structure ?
 
Hello, I am having several CPP source codes and they are placed in unix environment. I wish to kn...
[3 replies] Last: Check out Doxygen. It can generate a nice HTML reference for the sour... (by moorecm)
jwsmpt question on linking
 
Hello Im taking an into to network class and the professor wants us to link files and make this demo...
[3 replies] Last: you may have a library, it will be called something like libjwsmtp ... (by bigearsbilly)
send file with FTP from small Linux Version
 
Hello I have this problem. I need to do this: I got a small version of Linux installed in some sm...
[2 replies] Last: what about plain old ftp? you can use a ~/.netrc file to automate if ... (by bigearsbilly)
Linking Cpp to C
 
Hello, I have generated 3 dynamic libraries (libbasic.so, liblia.so and libsos.so), and my applic...
[1 reply] : Well, I should have googled before asking. I found the answer here ... (by bhatiaharsh)
automate mouse click for time lapse any script or plug in for luciole?
 
Hello all! I'm hoping someone here knows of a way to macro my mouse clicks. I am using luciole to ...
[1 reply] : I'm not sure what luciole provides, but you can easily script gstreame... (by PanGalactic)
system("ffmpeg...") returns immediately
 
I have to implement some ffmpeg routines as soon as possible. Best would be to use the libav directl...
[3 replies] Last: Try using popen rather than system and see if that makes any differenc... (by sadavied)
by DOSIX
g++ doesn't recognize random number function
 
I include ctime in my file. However, when I compile it via command line, it says that srand() and ra...
[1 reply] : rand isn't defined in <ctime>. It is defined in <cstdlib>. Is that h... (by PanGalactic)
by Sauve
Restaurant Management
 
I am trying to get the user to order an item from the menu after they have input all the data (eg. #...
[2 replies] Last: I think your while condition on line #81 is always true. First, ... (by rcj)
C++ templates and static checks ?
 
This problem is coming again and again to me in different formats. I try to illustrate it with follo...
[7 replies] Last: #include <boost/type_traits/is_same.hpp> #include <iostream> st... (by jsmith)
im a newbie.pls guide me
 
how can i output the value k from the input string day?and is it correct the declaration of string d...
[2 replies] Last: i know. i dont even understand it myself. hahhaaaa. let me refer it fr... (by kamilkamil)
February 2011 Pages: 123
  Archived months: [jan2011] [mar2011]

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