UNIX/Linux Programming - November 2012

Daemon to log keystrokes?
 
Hey. I want to log all keystrokes by a script running in the background. I know that this is possibl...
[no replies]
[MAC] Get current keystate
 
Hey, I'm trying to make a basic keylogger on my Mac to pull a prank on my friend. Anyway, I need to ...
[no replies]
Shell Script
 
Hi I am trying to make a shell script in the Ubuntu terminal that can read a password for the text f...
[1 reply] : man sudo && man shutdown (by Athar)
Need help with setting env variable inside system call
 
I have two processes. I want to set an environment variable in one process and check it in another i...
[1 reply] : Environments are inherited, it's not a global resource. The two apps ... (by kbw)
by Katma
SegFault before main even runs?
 
I'm getting a segfault before the program even gets to main. It compiles just fine, but not beyond t...
[4 replies] Last: I'm using the compiler built into my school's csc server. Linux clas... (by Katma)
using pipe
 
Please, help me to understand how to use pipe!! I write the console application under Unix. Here is...
[no replies]
Difference of calling external application and library
 
Hello, is there any difference in regard to attributes and autorization between calling an extern...
[1 reply] : If your application is running as root, anything it does is done as ro... (by Zaita)
delete uesr
 
how can i delete some users from terminal
[2 replies] Last: that's right!!!! (by cherraqi)
by Ritu15
Makefile
 
please tell me the code of make file for my following program.... tha Employee.cpp file is #incl...
[3 replies] Last: You should put the dependency (by ne555)
by Ace93
Ostream&
 
Editing code for class and i get the error: basic_demo.cpp: In function 'void print(std::string*, i...
[4 replies] Last: I've tried: 26 bool add(std::string arr , int &n, int maxN, std::str... (by Ace93)
Detect mouse click in Terminal (Ubuntu server)
 
I want to solve a pretty easy problem. I just want to detect a mouse click under Ubuntu Server(witho...
[3 replies] Last: ertt (by IraMelton)
api and g++
 
so I have to use an api for this project and I guess I am to get a .so for the library. I have been ...
[2 replies] Last: Have you tried Google? http://ehuss.net/shared/ (by kbw)
Setting a value of nested class in shared_ptr
 
I am trying to use a vector of shared_ptr (boost lib) that points to a class with a nested class (ho...
[3 replies] Last: @deadpickle (aside) if you're doing the allocation and copy just to ... (by andywestken)
I need chars!
 
I'd like to make a mapping of strings to chars. I'm going to use a hard coded map in a program to co...
[1 reply] : I don't clearly understand what you intend to do, but you can use a l... (by tejashs)
by gliese
Is there anyway in which I don't need to specify the linker when compiling?
 
For example, If my c++ code included math.h so that I can use sin() . When I compile my code, ...
[3 replies] Last: You can use a Makefile ! (by SKZ81)
by Carnez
discrepancy with multiplication
 
I am using the armadillo c++ linear library and when I try to multiply a scalar with a vector, I rec...
[1 reply] : You should post more code. - freq declaration and initialisation - how... (by SKZ81)
by raduh
Declaration syntax error
 
I wrote the following library for my mouse: #ifndef __MOUSE_H #define __MOUSE_H #include <dos.h> ...
[2 replies] Last: - Are you compiling in EFFECTIVE C++ mode ? - If yes, try to rename to... (by SKZ81)
Linux-friendly laptops
 
I know it's more of a hardware-related question but are any particular brands more linux-friendly/co...
[12 replies] Last: I have an older Macbook with Intel dual core processor that Apple no l... (by powerup777)
Am I using threads right?
 
So I never program with threads, and for some reason they just confuse the hell out of me when tryin...
[8 replies] Last: It seems to try and teach you how to start threads, not make it in a, ... (by liquidfuzz)
Read ini files
 
Hi. Windows API has some functions for reading *.ini files GetPrivateProfileString GetPrivateP...
[5 replies] Last: I apologize, that was my mistake, I hav to say you can use! (by barbodar)
November 2012 Pages: 123
  Archived months: [oct2012] [dec2012]

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