A bit array (also known as a bitmap, a bitset, or a bitstring) is an array data structure that compactly stores individual bits (boolean values). Consider finite sets over a finite universe.Specifically, the universe we consider is {0,1,2…N-1} the set of integers in the range from zero to N-1, for some fixed and relatively smallContinue reading “Bit Vector Sets”
Category Archives: C
Using X11/Xlib library
I haven’t found anything very satisfying on the Web as an X11/Xlib tutorial.But it returns quite a useful bunch of things. Here i am giving some codes that i have tried during my project works. Program 1:FINDING MOUSE COORDINATES USING X11/Xlib LIBRARY mouse.c #include <X11/Xlib.h> /* defines common Xlib functions and structs. */ #include <stdio.h>Continue reading “Using X11/Xlib library”
xdotool-command-line X11 automation tool
I came to know about xdotool while searching for an idea to move mouse and to simulate clicking events for our project.xdotool is a command line automation tool that helps us to programatically (or manually) simulate keyboard input and mouse activity, move and resize windows, etc. It does this using X11’s XTEST extension and otherContinue reading “xdotool-command-line X11 automation tool”