Month: July 2016

29
Jul
2016

Use codeblocks with OpenGl

23
Jul
2016

Flags in C

Reference: https://www.daniweb.com/programming/software-development/threads/201233/use-of-flag-in-c

23
Jul
2016

Draw Midpoint Circle Algorithm with Keyboard Function

Midpoint algo reference: http://www.eazynotes.com/notes/computer-graphics/algorithms/mid-point-circle-algorithm.pdf http://suraj1693.blogspot.com/2013/11/c-program-for-drawing-circle-using.html https://birunthag.blogspot.com/2014/05/openglc-draw-circle-with-midpoint.html https://www.opengl.org/discussion_boards/showthread.php/169955-using-glutKeyboardFunc Code: #include <windows.h> #include <GL\glut.h> #include <stdlib.h> #include<iostream> #include<stdio.h> using namespace…

21
Jul
2016

GRE Listening Practice

I have found this song very helpful for listening to text understanding. Lyrics Reference: http://www.directlyrics.com/carly-rae-jepsen-i-really-like-you-lyrics.html

17
Jul
2016

Draw Brasenham Line Drawing Algorithms with Random Lines and Colors

Code: #include <windows.h> #include <GL\glut.h> #include <stdlib.h> #include<iostream> using namespace std; int x, y, a, b, nol,…

17
Jul
2016

Star Drawing with OpenGL

Draw 4 stars in screen with OpenGL Screenshot: Code: #include <windows.h> #include <GL\glut.h> void myInit (void) {…