UNIX/Linux Programming - December 2011 (Page 2)

PThreads - one of two threads doesn't run
 
Hi, my goal is to implement two threads. One running a vector of numbers upwards, the other one r...
[2 replies] Last: As an aside, whilst there's nothing at all wrong with pthreads, C++ no... (by Moschops)
fseek doesn't work or work?
 
Dear all, i wrote a function that list my file that it's binary and write it with fwrite from my str...
[1 reply] : I solved it , i replaced while (!feof ) with while (fread).... (by mpahlevanzadeh)
by bruice
‘strcmp’ was not declared in this scope
 
When I try to complier a program, there are some errors happened. main.cpp: In function ‘std...
[1 reply] : strcmp is in <string> and memcpy is in <string.h> (IIRC) They are ... (by Texan40)
rvalue implicit move tracking?
 
Using g++ (4.6.2) is there any way to turn on compiler flags to tell what uses implicit move instead...
[3 replies] Last: Can you explain? He's referring to the new std::move semantics int... (by Victor T)
Problem with istringstream
 
I'm working on a code to read in an input file and convert it to another format. I've created a func...
[8 replies] Last: That's a good point, I'll put a flag to print an error if getline does... (by car3262)
by cdd
Open GL + Graphics
 
Hi, I would like to start graphics programming in c++ but i have no clue how/where to install gra...
[4 replies] Last: Install the mesa library development packages. Eclipse should find th... (by PanGalactic)
by bmahf
Compiling boost 1.37 for Solaris
 
Hi all, I'm trying to build boost 1.37 on Solaris 10, which I have never done, and having a coupl...
[1 reply] : So for anyone else who runs into this, I wasn't able to get 1.37 to us... (by bmahf)
Function to Solve ln(x) using a Taylor Series
 
I am trying to write a program to use with a research paper about the Taylor series. Basically, I ha...
[5 replies] Last: Good catch on that one Jim. I actually fixed it in my source code, bu... (by Clay Diffrient)
passing "\t" escape sequence as command line argument c++
 
Hey friends, I am new to C++, much appreciate your help on this issue. In the following code, I woul...
[3 replies] Last: I haven't check it but shouldn't your argument be ./a.out \t instead... (by eypros)
what is bitmap< 16, xxxxxxxx> bitmapname
 
hi all, please can any one tell something about bitmap.please provide if any references a...
[3 replies] Last: Perhaps you mean this? std::bitset http://cplusplus.com/reference/stl... (by Galik)
linking and loading
 
How does linux handle loading multiple shared libs where there are duplicate objects across two shar...
[1 reply] : This is perfectly fine. The first one loaded wins if the same symbol e... (by PanGalactic)
Compiling multiple files in through the terminal
 
I have three files: main.cpp: where the main() function is held header.h the header file ...
[10 replies] Last: bbgst: It wasn't working without it, so I thought it was worth a try... (by Ben Duncan)
mingw cross-compile SFML for windows
 
Hello all So I am trying to compile an SFML program for windows (using mingw) and I am getting th...
[10 replies] Last: I know it's perhaps a silly question but are they actually named "libs... (by Texan40)
Please Help
 
Hi, i'm programming in c++ for the first time in a long time and i receive this error message when b...
[3 replies] Last: I have no Idea how to solve this , so try s different matter (by Pranay Venkatesh)
How to download a file from http or ftp server with c program?
 
Hello, I am looking for an open source API minimum (point of view size on disk, and complexity) i...
[1 reply] : Curl or wget: http://curl.haxx.se/ As far as I know, wget is preinst... (by modoran)
by wisuzu
Gtk::Window cannot be closed, Help!
 
Why could be the causes of a window cannot be closed? I got a couple of misfuntion windows, they...
[no replies]
PLEASE HELP WITH THIS
 
my program is supposed to output all prime numbers, given the array of any size of elements. why i...
[10 replies] Last: You're writing non-portable (non-correct) code! GCC enables a numbe... (by kbw)
UDP binding interface
 
Hi, I would like to know what should be set to the interface for joining a multicast group? Re...
[4 replies] Last: Then you switch on multicasting on an interface, it asks for a route t... (by kbw)
partition array into n/5 groups
 
Hey I am working on a project where I need to use deterministic linear time algroithm to find the me...
[1 reply] : do this: int pb,pt; //the bottom and top of each partition for(pb=0;p... (by rocketboy9000)
Makefile problem (Driver module programming:) )
 
Hi guys I've written a simple Module (helloworld :D) but when I want to compile it I got the follow...
[no replies]
December 2011 Pages: 123
  Archived months: [nov2011] [jan2012]

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