• c program to swap two numbers without using a third variable

    There are 4 tricks to swap two numbers without using a third variable. You can use of them for your program. However the trick #4 is the smartest, fastest & easiest of all. The trick used is nothing but basic mathematics fundamentals like: multipliaction, division and addition , subtraction. Further explanation is given below:  

  • Flying Plane Script to run on your website

    Flying air Planes code/script to run on your website.This flying plane script is embedded on special occasions to give your websites a professional look: You will need a image and a javascript to run animation through that image: Method 1: Directly COPY PASTE  THIS IN YOUR HTML/BODY or If you have a wordpress blog then add(…)

  • Secret of Xiaomi : Sends Personal Data to China Servers

    Obsessed with the cheapest rates over the world Xiaomi is definitely hiding something! As reported earlier in many news channels that the phone is sold even at loss to grab the market but their need to be a reason for this. No one would do a business for loss at least it won’t make a(…)

  • C Quiz 1: Level Medium

    This C Quiz is for programmers who are into programming over a time and have built the practical experienc working on the projects and studying into using the C compiler. Those who doesn’t program and just study: Beware ; Dont even think to qualify the quiz. This quiz contains 5 Mind Blowing questions to give(…)

  • Check PNR Status script for your website

      Enter the 10-digit PNR number below   Below is the script for PNR Status for your website

       

  • Most irritating Facebook virus mrwmcw582.z

    There are many facebook virus that are been developed and transmitted for advertising but the most irritating ones are those that are been created for self interests of developers for making fool of the People. This virus named mrwmcw582.z is a virus that opens up in the Chat Box obviously sent by some of your friend who(…)

  • Make your own Video player in android

    This android tutorial is to help you make your own video player in android. This video player will fetch all types of video formats on your android device and list them in listview and you can click on any of the listed video to run the video. This video player is simple to make. Download(…)

c program to swap two numbers without using a third variable

There are 4 tricks to swap two numbers without using a third variable. You can use of them for your program. However the trick #4 is the smartest, fastest & easiest of all. The trick used is nothing but basic mathematics fundamentals like: multipliaction, division and addition , subtraction. Further explanation is given below:

 Trick #1

 
  Trick #1: Addition, subtraction

A=A+B;
B=A-B;
A=A-B 

Program #1: Swap two numbers without using third variable using addition and subtraction.

 

 Trick #2

 
  Trick #2: Multiplication, Division

A=A X B;
B=A/B;
A=A/B;

Program #2: Swap two numbers without using third variable using Multiplication and division

 

 Trick #3

 
 Trick #3: XOR Operation,

A=A^B;
B=A^B;
A=A^B; 

Program #3: Swap two numbers without using third variable : XOR operation trick.

 

 Trick #4

 
Trick #4: Basic logic: 1 Line Trick,

A=A+B – (B=A); 
Program #4Swap two numbers without using third variable: Basic Logic; 1 Line trick. 

 

 

 

Flying Plane Script to run on your website


Flying air Planes code/script to run on your website.This flying plane script is embedded on special occasions to give your websites a professional look:

You will need a image and a javascript to run animation through that image:

Method 1: Directly COPY PASTE  THIS IN YOUR HTML/BODY or If you have a wordpress blog then add a text/html widget and paste this flying plane script:

Thats it ! Cheers.

Note: You can multiply the planes by repeating the script as on this page script is called two time.

Method 2:  Modify your own script! Instead of planes save your own image file like helicopter and run this

Here is the Flying planes script for your website which you need to put up inside your page html(either in body or head):

For wordpress blogs you need to go toAppearance -> Widgets : Then use a text/Html widget in your footer(most favourable):

Now you need the javascript and the plane image :

Click to download the Javascript for flying plane script – or right click -> Save as 
Click here to download the plane image or right click -> Save as

Note:
1. The file name for the javascript and image file should be same as that you put in the above script
2. You can use your own image file i.e a plane, a helicopter etc, 



Incoming Terms:
Indian tricolor plane script download, flying jet planes html code/script for the website

Secret of Xiaomi : Sends Personal Data to China Servers

Obsessed with the cheapest rates over the world Xiaomi is definitely hiding something! As reported earlier in many news channels that the phone is sold even at loss to grab the market but their need to be a reason for this. No one would do a business for loss at least it won’t make a sense. Xiaomi has been recently accused of sending personal data to unknown china servers.

We all know China is ruling the world in all sectors may it be electronics, Sports, Estate etc. Electronics continued to grow over manufacturing of major companies like Apple, Samsung, HP, HCL, probably all of them and it would require a lot of space to cover the list. But how good it would be to be a direct seller rather third party manufacturer? From Hardware to user GUI everything is their own.

Now whats left is to grab the market reach maximum people in the world to gather the most precious data which could be sold to others or could be used for self interests. There wasn’t any proof to confirm the data leakage since there wasn’t any reliable source. So members of F-secure decided to test whether it was true or not! Here are the results :

Data leaked through Xiaomi phones:

  1. IMSI
  2. IMEI
  3. Contact list and details
  4. Text msgs

Barra (Vice president in XIAOMI) left Google in 2013 reported that the Servers are not storing any user data they are only used to download apps and other relevant services offered from Xiaomi and backup which is asked by the user itself is always encrypted. However as the report Shows MI Cloud which has different IP is a Xiaomi cloud backup service and shows some data leakage.

Tech firms from China and US are popular for these cyber spying and the digital cold war between governments continues.  China has been known always in privacy invasion but none of us would know about this. We all are small pawns and the reality is always above our heads. 

Incoming terms: Xiaomi data leakage proof, Xiaomi PERSONAL DATA saves in china servers

C Quiz 1: Level Medium

This C Quiz is for programmers who are into programming over a time and have built the practical experienc working on the projects and studying into using the C compiler. Those who doesn’t program and just study: Beware ; Dont even think to qualify the quiz.

This quiz contains 5 Mind Blowing questions to give you some strikes and remind your past programming mistakes and experiences. 

Level: Medium

[WpProQuiz 1]

Check PNR Status script for your website

 

Enter the 10-digit PNR number below

 

Below is the script for PNR Status for your website

 

 

Most irritating Facebook virus mrwmcw582.z

There are many facebook virus that are been developed and transmitted for advertising but the most irritating ones are those that are been created for self interests of developers for making fool of the People. This virus named mrwmcw582.z is a virus that opens up in the Chat Box obviously sent by some of your friend who has activated it in his System.

Also Read: How to get rid of facebook virus mrwmcw582.z

1. This is a mrwmcw582.z TrojanDownloader vbScript.

2. It comes along with a message and a smile as if its something funny and one would click it.

3. Moreover The icon displayed is a word file icon and no one would treat it as a virus.

4. However its a rar file with a extension .z and extracting it would give you a file named mrwmcw582.vbs

5. Triggering/Clicking this file would not display anything but it would run in the background and attack your cookies. It will replicate itself and would be sent to you friends as a message.

6. You can open the file .vbs in a notepad to view its code which cant be recognized as it has been written by converting it into ascii character code.

Security Measures for mrwmcw582.z trojan downloader:

Log Out of your Facebook account immediately so that it will not use your cookies and session attack can prevented. Cookie stealing was the most basic attack to get into someones account but it can be done only if the person itself sends the cookie details and this is what this trojan does. Dont Click it at all.

Beware: Your Antivirus will not detect it for the first time. The virus signature will be recognized once you trigger it. However until then the damage would be done. So don’t rely on your antivirus always. 

mrwmcw582.z screenshot

Facebook virus mrwmcw582.z

Download this Facebook virus here: Download mrwmcw582.rar trojan

This is a .rar file so it wont auto generate until you extract and trigger it. Enjoy :)

CODE PREVIEW FOR THE VIRUS

 

Incoming Terms: facebook spam mrwmcw582.z, facebook virus mrwmcw582.z, facebook trojan mrwmcw582.z

Make your own Video player in android

This android tutorial is to help you make your own video player in android. This video player will fetch all types of video formats on your android device and list them in listview and you can click on any of the listed video to run the video. This video player is simple to make.

Download Video player for android full package.zip for eclipse:

makevideoplayerinandroid.zip

Here we have three important files:

  1. Playingvideo.Java
  2. VideoHome.Java
  3. VideoInfo.Java

Playingvideo.Java

VideoHome.Java

 

VideoInfo.Java

main.xml

OUTPUT:

 

Text to speech project in Android

Text to speech project in android is the most commonly built project where the user provides the text to the application and

Download Text to Speech project package.zip

Texttospeechactivity.Java

main.xml

OUTPUT:

convert text to speech in android

Text to speech project in android

Intent case 4 in android

Intent in android development means to pass messages between different components so that different activities can communicate between each other. There are 4 cases in intent in android and this ones to describe intent case 4 in android.

Here are two classes that communicate to each other using intent:

  1. B.Java
  2. Intentfourthcaseactivity.Java

Download Fourth case of intent in android – full .zip package for eclipse.

Click Here- Intentfourthcase.zip

 

IntentFourthCaseActivity.Java

B.Java

main.xml

 OUTPUT:

 

intent case 4 in android

Case Four for Intent in android

C program for dfs – Depth First Search

This is a c program for DFS – depth first search In which the the searching goes on to all the siblings first rather than the nodes i.e the first item searched is the leftmost leaf node. Moreover you have to enter the number of nodes in the graph and the adjacency matrix. Though leftmost node is searched still extra provision has been made here you have been asked for which node you want to search first ” starting node ” in DFS.

OUTPUT:

c program for DFS

Incoming Terms: dfs, depth first search, c program for dfs