What is the sizeof operator?
The sizeof
operator, returns the size of an expression, or of an object type in C
. An expression is for example 1 + 2
, an object is any region of memory, and a … Read More
The sizeof
operator, returns the size of an expression, or of an object type in C
. An expression is for example 1 + 2
, an object is any region of memory, and a … Read More
Let us start by first asking the question, of why do we need, the processor modes. Well simply put, a processor mode, is used to define a capability, so for example, the kind of features, instructions, or registers which … Read More
To understand what core foundation is, let us get back in history a little bit. It was the year 2000, and there were two ways to develop applications, for macOS 10.
On one hand, … Read More
Many object oriented programming languages, have a class, from which all other classes extends.
In general, a class has a set of methods, and variables, which it defines. The variables being the data, and the methods, being the … Read More
A window is just a place, where an application can do its drawing, like drawing a button, text or other stuff.
On Linux or UNIX like systems, there is a tool called xwininfo
, which can be … Read More
In X11
, a property simply has a name, a type, a format, a value, and is associated with a window.
There is a set of functions, provided by X11
, which allows manipulating a property, and they … Read More
An atom in X11
, is of type Atom
, which is defined in the <X11/Xatom.h
header, as :
typedef unsigned long Atom; /* Also in Xdefs.h */
An atom is 32
bits, the reason, that long
was chosen, … Read More
xset
is a tool, which allows specifying certain configuration, for the X11
server. Mainly these configuration, are related to hardware, that the X11
server interacts with, so the keyboard, the mouse, the display, this being said, the display power … Read More
The integer types in C++ are fundamental types . A fundamental type , has a mapping to hardware , so the operations performed on a fundamental type , are hardware performed .
Boolean , Characters , and integer types … Read More
A character repertoire such as ascii
, or Latin alphabet 1
, or unicode
, is a set of characters .
Each character , such as a
, in a repertoire , is assigned a … Read More