Category Archives: Programming

Monk and Welcome Problem

Another Problem:

 

URI Online Judge | 1030 Flavious Josephus Legend

This is level 3 problem so will do it later. But this video will help for  sure.

 

A good Array Example

Hackerrank problem:

 

Loops in python

Loops in python:

Output:

FOR Loop with index

Output:

 

URI Online Judge Solution | 1049 Animal

strcmp in c/c++ issues is the hard part nothing else…Just try to learn this 🙂
Logical condition based problem it was.

 

 

URI Online Judge Solution | 1048 Salary Increase

My failed code:
http://ideone.com/4o96LX

My succeeded accepted code:

 

Use codeblocks with OpenGl

Flags in C

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

Swap in C

Swap in C

 

OpenGL Graphics Code: Build a house with GLUT

Screenshot:
lab2

Data Mining:Intros and Weka With Java

https://www.ibm.com/developerworks/library/os-weka1/

http://www.programcreek.com/2013/01/a-simple-machine-learning-example-in-java/

http://www.cs.umb.edu/~ding/history/480_697_spring_2013/homework/WekaJavaAPITutorial.pdf

Advanced string manipulation

Actually we use this method to split string from a big sentence using regex.

String Manipulation

Java OOP Examples

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

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:

 

Projects:
http://www.openglprojects.in/2015/08/bubble-shooter-game-computer-graphics-programs-in-c.html#gsc.tab=0

https://openglprojects.com/opengl-project-ideas/
http://vtupro.blogspot.com/2014/10/opengl-mini-project-for-csisit-students.html

Triangular Number Java Code True or False

Here yo can see what is triangular number:

https://en.wikipedia.org/wiki/Triangular_number