A complex number is a number which can be written as "" (sometimes shown as "") where a and b are real numbers and i is the square root of -1. Typical
Continue ReadingC++: Bresenham’s Line Algorithm
Using the data storage type defined on this page for raster graphics images, draw a line given 2 points with the Bresenham's line algorithm. void
Continue ReadingC++: Conway’s Game of Life
The Game of Life is a cellular automaton devised by the British mathematician John Horton Conway in 1970. It is the best-known example of a cellular a
Continue ReadingC++: Main Step of GOST 28147-89
GOST 28147-89 is a standard symmetric encryption based on a Feistel network. Structure of the algorithm consists of three levels: encryption mode
Continue ReadingC+: Mandelbrot Set
Generate and draw the Mandelbrot set. Note that there are many algorithms to draw Mandelbrot set and there are many functions which generate it.
Continue ReadingC++: Why is one loop so much slower than two loops?
Suppose a1, b1, c1, and d1 point to heap memory and my numerical code has the following core loop. const int n=100000 for(int j=0;j<n;j++){
Continue ReadingC++ Binary Search Trees
[pt_view id="3a985d76d6"]
Continue ReadingC++: Abstract Type
Abstract type is a type without instances or without definition. For example in object-oriented programming using some languages, abstract types ca
Continue ReadingHow Can I Go About Applying Machine Learning Algorithms to Stock Markets?
I am not very sure, if this question fits in here. I have recently begun, reading and learning about machine learning. Can someone throw some light
Continue ReadingC++: Empty Program
In this task, the goal is to create the simplest possible program that is still considered "correct." int main(){} SOURCE Content is available un
Continue Reading




