Programming is the process of creating a set of instructions that tell a computer how to perform a task. It can be considered a form of communication between humans and computers. When we program, we are writing in a language that a computer can understand to execute specific functions or solve problems.

Storage Classes in C++

November 5, 2017|

The storage class is used to specify control two different properties: storage life-time and scope(visibility) of variables. Following storage classes can be used in a C++ Program: Automatic External Static Register Automatic(auto) Storage Class Variable defined within the function body are called auto variable. The auto storage class is used to declare [...]

Operator in C++

November 4, 2017|

C++ operator is a symbol that is used to perform mathematical or logical manipulations. C++ language is rich with built-in operators. Arithmetic Operators Operator Description + Addition – Subtraction * Multiplication / Division % Modulus Increment and Decrement Operators Operator Description ++ Increment −− Decrement Relational Operators Operator Description == [...]

Cohen-Sutherland Line Clippings

October 29, 2017|

  Cohen-Sutherland Line Clippings algorithm uses the clipping window as shown in the following figure. The minimum coordinate for the clipping region is (XWmin,YWmin)(XWmin,YWmin) and the maximum coordinate for the clipping region is (XWmax,YWmax)(XWmax,YWmax).   We will use 4-bits to divide the entire region. These 4 bits represent the Top, Bottom, Right, and [...]

Go to Top