UNIX/Linux Programming - July 2014 (Page 2)

Multithreaded C program.
Hi, I want to develop an application for do simultaneous process. For this requirement I decided to use pthreads. So I wrote a c code for that. But the probl...
Jul 15, 2014 at 10:59am
[4 replies] Last: Hi, Problem solved. Thank you all. (by dushantha12)
Capturing X window actions and responses thereof
Hello, I have a need to record user actions on x windows based applications. Further, I also need to capture text input and output from these windows. I am n...
Jul 15, 2014 at 2:32am
[1 reply] : http://tronche.com/gui/x/xlib/ Particularly, http://tronche.com/gui/x... (by Lowest0ne)
by VHBIL
Share objects from library with many executables.
I am looking to write a server. I want one executable to be able to start and stop the server and another executable to get statistics from the server and chang...
Jul 14, 2014 at 10:02pm
[2 replies] Last: Thank you, very helpful. (by VHBIL)
How does std::regex work?
Good Evening! I'm writing some kind of parser and the c++11 regex library might come in handy. Now the most recent g++ compiler in my package sources doesn't s...
Jul 14, 2014 at 12:51pm
[2 replies] Last: Thanks, Exactly what I was looking for, I like it. Only knew boost::re... (by hithere)
Multi-thread logging efficiency
I provided a logging functionality to provide about 15 threads output there logs to a log file. So I used a mutex lock to serialize the logging process. In conc...
Jul 13, 2014 at 4:20am
[5 replies] Last: About Boost.log I glanced over the boost website. It will be wise j... (by myaegean)
BASS API
where i find a Bass API tutorial?
Jul 12, 2014 at 6:35pm
[1 reply] : Have you tried google yet? There is also the documentation with some e... (by giblit)
by Nezar
help
hello, i have installed gnome. when i run gnome-session after initializing xinit in the terminal, it looks like the server is trying to launch gnome but i get...
Jul 11, 2014 at 8:16am
[1 reply] : 1. Not a C++ programming issue. There are more appropriate Fora out th... (by keskiverto)
How to declare a Three-index vector
Can someone help me. I would like to declare a three-index vector. I already did a two-index one. As above: vector <vector<double> > c; //cost c = vector<v...
Jul 10, 2014 at 10:15pm
[6 replies] Last: The question isn't really how to make a 3D array, that's easy. The qu... (by kbw)
by fafner
Finding default search path
I'm trying to compile some stuff on a new computer, which depends on some libraries I just installed. They are installed in /usr/local, and my compiler can't fi...
Jul 10, 2014 at 9:26pm
[3 replies] Last: Also, clang++ -help will list a ton of options, one of which is: cl... (by norm b)
SDL_BlitSurface won't work
skin=IMG_Load("./assets/Windowskins/WindskinA.png"); SDL_BlitSurface( skin, NULL, output_window, NULL ); t = SDL_CreateTextureFromSurface(Surf_Display,outp...
Jul 10, 2014 at 7:04pm
[11 replies] Last: It's working now, thanks. (by legendarysnake)
Suggested online material to know clear picture on STL and Multithread Programming
Dear Friends, Can any one suggest me online best material for STL and Multithread Programming in C++.
Jul 10, 2014 at 1:25pm
[1 reply] : Are you looking for reference material, or a tutorial? cplusplus.com'... (by dhayden)
Write data to a "pipe"
Hi, I would greatly appreciate help with editing some code. The provided code writes binary samples from a usrp radio to a .dat file. I am trying to edit th...
Jul 10, 2014 at 10:18am
[1 reply] : Isn't is simply a case of asking the operating system to pipe the stan... (by Chervil)
by Nezar
bash: ./filename.bmp permission denied
hello, I'm trying to open a .bmp file in the Ubuntu server using the X11 enviroment but i get the following error: bash: ./filename.bmp permission denied ...
Jul 10, 2014 at 8:09am
[1 reply] : Maybe you should check the file permissions. But it looks like you'r... (by kbw)
Multi thread access a log file
Recently I created a logging functionality for multiple threads. I also used mutex lock to control multiple access on logging file. I met a issue when testing t...
Jul 10, 2014 at 1:02am
[6 replies] Last: Your solution is really nice, thank you! (by myaegean)
by Nezar
cannot connect to X11 window server
hello, I'm running The Ubuntu server without a GUI using the Oracle VM virtual box and i'm trying to open a java based graphic window but i get the following er...
Jul 6, 2014 at 11:31pm
[2 replies] Last: thanks. solved :) (by Nezar)
semi transparent - sdl
how i render a semi transmarent image using sdl? i want this effect: https://www.google.com.br/search?q=rpg+maker+xp+netplay&client=firefox-a&hs=uPS&rls=org.moz...
Jul 6, 2014 at 1:49pm
[1 reply] : You could create an image that have transparency and then load and use... (by Peter87)
by yepMe
difference between key and message id
Hi all, what is the difference between key and message id in message queue ?
Jul 4, 2014 at 8:25am
[1 reply] : In which message queue? (by kbw)
Stealth Port Scanner question (recv())...
After sending a packet, I get a response... int size = recv(socketDescriptor, buffer, sizeof(buffer), MSG_DONTWAIT); cout << "received: " << size << endl; co...
Jul 3, 2014 at 9:00pm
[5 replies] Last: It's not odd if you understand the networking stack. When using a sock... (by ResidentBiscuit)
Clearing console?
OS:Ubuntu 12.04 IDE:CodeBlocks any one know how to clear the console efficiently? im running a console along my opengl app and need to print some variables...
Jul 3, 2014 at 4:05pm
[4 replies] Last: You realize that your debugger is there for this exact purpose, right?... (by ResidentBiscuit)
itoa
I'm trying to use itoa method but it won't work here, on c++11. there is a another way to convert int to const char?
Jul 2, 2014 at 8:45pm
[4 replies] Last: it is working, is rendering the enemy hp value on the screen thanks. (by legendarysnake)
July 2014 Pages: 123
  Archived months: [jun2014] [aug2014]

This is an archived page. To post a new message, go to the current page.
Registered users can post in this forum.