Understanding CGI Dynamic Documents A dynamic document is created by a Web server whenever a browser requests the document. When a request arrives, the Web server runs an application program or a script…
Debugging with GDB
The GNU Debugger, usually called just GDB and named gdb as an executable file, is the standard debugger for the GNU operating system. However, its use is not strictly limited to the GNU operating system;…
Why is HTML called HTML ?
HTML- HyperText Markup Language is a language for creating web pages. It is simply a language for designing Web documents. But, many of us do not understand, what does HTML, actually, stand for ? HTML…
Shifting and Scaling the circle using Bresenham's Algorithm
As discussed in previous blog, Scaling refers to linear transformation that enlarges or diminishes objects. Along with scaling capability, We’ve now added the coordinate axis and shift capability to Bresenham’s algorithm. Shifting a Circle refers to – changing…
Scaling The Circle Using Bresenham's Algorithm
Scaling refers to linear transformation that enlarges or diminishes objects. ‘Scaling a Circle’ refers to increasing or decreasing its radius or diameter with the scale factor as specified. Simply adding the statement radius= radius*scale; into the…
C++ Implementation of Bresenham's Algorithm
#include<iostream>#include<stdlib.h>using namespace std;int main(){float x,y,rad;int row,col, hgt,wth;char circle[500][500];cout<<” Enter the size of the plane: “;// to define the coordinate plane cin>>hgt>>wth;for(int r=0;r<hgt;r++)//define the array ( array of spaces) to store the points to be plotted…
Focus Booster : The Pomodoro Technique
The pomodoro technique is a time management technique which allows you to work with time, using time to your advantage to stay fresh, remove distractions and create a better work life balance. The pomodoro technique…
Shaking Hands with Bresenham
As mentioned in previous blogs, along with the task of illustrating a perfect circle, we were also asked to study Bresenham’s circle drawing algorithm. In addition, we were handed a graph ( not the usual one, but the…
Sins and Crimes in Operating System
We’ve always heard the usual meaning of a Process and a Program. Technically, or In association with computers, the concept behind a program and a process is well explained in books. Recalling,…
C++ Program To Display A Circle ( without using graphics.h)
// To illustrate a circle #include<iostream> using namespace std; int main() { float r; cout<< ” Enter the Radius”<<endl; cin>> r; float pr = 2; // pr is the aspected pixel ratio which is almost…