Month: May 2016

15
May
2016

Java OOP Examples

https://www.ntu.edu.sg/home/ehchua/programming/java/J3a_OOPBasics.html

15
May
2016

OpenGL GLUT Tutorials – C Graphics

Lectures: About OpenGL colors: http://www.cs.brandeis.edu/~cs155/OpenGL%20Lecture_02.pdf https://en.wikibooks.org/wiki/OpenGL_Programming/Basics/Color Setup: https://openglprojects.com/setting-up-opengl-in-windows-linux-mac/ Tut: http://www.lighthouse3d.com/tutorials/glut-tutorial/ http://ogldev.atspace.co.uk/www/tutorial03/tutorial03.html https://www3.ntu.edu.sg/home/ehchua/programming/opengl/CG_Introduction.html Vid:   https://www.youtube.com/watch?v=xCRzpNd5k3Y Projects: http://www.openglprojects.in/2015/08/bubble-shooter-game-computer-graphics-programs-in-c.html#gsc.tab=0…

14
May
2016

Draw a rectangle with OpenGL

Code: #include<windows.h> #include <GL/gl.h> #include <GL/glut.h> void display(void) { /* clear all pixels */ glClear (GL_COLOR_BUFFER_BIT); /*…

14
May
2016

Use Stanford NLP with Android

Steps: 1. Download the whole nlp from the site. 2. Copy stanford-postagger.jar file and paste it in the…

12
May
2016

Triangular Number Java Code True or False

Here yo can see what is triangular number: https://en.wikipedia.org/wiki/Triangular_number public class NumShape { public static void main(String[]…

11
May
2016

Problem 5 from 52 programming problems book

#include<iostream> #include<cstdio> using namespace std; int main() { int testcase,star,i,j,k; cin>>testcase; for(i=0; i<testcase; i++) { cin>>star; for(j=0;…