Wednesday, October 9, 2013

How to use MASAM for Assembly Coding.

This tutorial will guide you how to assemble .asm files using MASAM via command prompt

Mini Compiler for C language [Compiler Construction Project]

Compiler construction: Mini Compiler
Design and implement a compiler for the programming language having the following specifications:

Thursday, August 1, 2013

File Compressor in C++

Hello friends, Here is the code of File Compressor...

The main features of this program are:

  1. Works like note pad (i.e create, open, save , text document )
  2. Can generate random bits of data
  3. Can compress binary data (i.e If there are 10 or more 1’s consecutively replace them +10+, +11+, ... +20+, …..  OR in case of 0’s replace them -10-, -11-,-12-, ....... -20-, ....
  4. Can uncompressed data (i..e replace +10+ with '1111111111' , -10-, '000000000' , ....... )
  5. GUI interface,........
Pictorial View:






Codding:
   

Thursday, May 23, 2013

Simulated Annealing Algorithm


Simulated Annealing Algorithm:

    This algorithm overcomes all the problems occurred in Hill Climbing (i.e Stuck on Flat, local maximum, stuck on shoulder). It randomly chooses current node, basis on the temperature  schedule and the probability of choosing  next node.

 Below picture show the actual algorithm of simulated annealing. you can download full project code on the link given at the end.



Thursday, April 18, 2013

Data Structure Project


Screen Shots:




 









 


 Data Structure Project Demonstration of Stack, Ques, Single Link list and Double Link List. This project is build in DEV C++ using BGI Borland Graphics. Please read how to add graphics in dev C++ before compiling and executing the modified code.

DOWNLOAD PROJECT

Tuesday, April 9, 2013

Armstrong numbers in c++

If sum of cubes of each digit of the number is equal to the number itself, then the number is called an Armstrong number.

For example, 153 = ( 1 * 1 * 1 ) + ( 5 * 5 * 5 ) + ( 3 * 3 * 3 )
        
Write a program that prints all Armstrong numbers from 1-1000.


Solution:



OUTPUT:


Tuesday, April 2, 2013

Message Encryption/ Decryption Software in C#

SCREEN SOOTS:

MAIN SCREEN


Playfair Cipher Encryption/Decryption



Monoalphabetic Encryption/Decrption


Description:
   This project is developed in C# Visual Studio 2010. I have implemented Playfair and monoalphabetic Encrption/Decryption Algorithms.

DOWNLOAD:
https://docs.google.com/file/d/0B8-JebQ_QBSEdzRJcHZVOElPcnM/edit?usp=sharing