Design and Analysis of Algorithms by Punmetkar

Help this Child!

A mail from WorldVision touched my heart..!

World Vision India
World Vision India

. A picture and the story of your sponsored child.
.  The Annual progress report to show you his/her progress.
.  Tax benefits under Section 80G.
.  Most importantly, a meaningful relationship with the child you sponsor – the chance to write
to your sponsored child or visit your child, making you an active partner in your child’s
progress and development.

 

 

Dev C++

 

Bloodshed Dev-C++ is a full-featured Integrated Development Environment (IDE) for the C/C++ programming language. It uses Mingw port of GCC (GNU Compiler Collection) as it’s compiler. Dev-C++ can also be used in combination with Cygwin or any other GCC based compiler.

Features are :

- Support GCC-based compilers
- Integrated debugging (using GDB)
- Project Manager
- Customizable syntax highlighting editor
- Class Browser
- Code Completion
- Function listing
- Profiling support
- Quickly create Windows, console, static libraries and DLLs
- Support of templates for creating your own project types
- Makefile creation
- Edit and compile Resource files
- Tool Manager
- Print support
- Find and replace facilities
- CVS support

Source code : Delphi 6 Source code of Dev-C++ is available for free under the GNU General Public License (GPL)

Authors : Colin LaplaceMike BergHongli Lai : Development
Mingw compiler: Mumit Khan, Jan Jaap van der Heidjen, Colin Hendrix and GNU coders.

System : Windows 95/98/NT/2000/XP

Status : Free Software (under the GNU General Public License)

Size : 13.5 Mb

Downloads : Go to Download Page

Dev-C++ resources page (libraries, sources, updates…)

Fibonacci series

A very Simple easier fibonacci series program made by me.


#include<stdio.h>

#include<conio.h>

int fib(int);

int main()

{

int n=0,i;

printf("\nEnter last no. >");

scanf("%d",&i);

if(i==0)

{

printf("\n No element to print.");

}

while(i>=n)

{

printf(" %d ",fib(n));

n++;

}

getch();

}

int fib(int n)

{

int x,y;

if(n<=1)

return n;

x=fib(n-1);

y=fib(n-2);
return (x+y);

}

Know You own phone Number

Do you have many mobile prepaid sim cards with different operators?Got confused with them whether what operator?Don’t know the numbers of prepaid sim cards?Don’t worry here is the trick to get the mobile number of sim card?

HOW TO FIND THE MOBILE NUMBER OF AIRTEL PREPAID SIM CARD?
The following tutorial explains you to find the own mobile number.Goto “Create a New Message option ” on your mobile and write an SMS exactly given below:
IM and send this SMS to 57070.
You will get Your Mobile Number as reply message from Airtel.Now your forgotten mobile number is ready to do every thing.

HOW TO FIND THE MOBILE NUMBER OF RELIANCE,VIDEOCON,VIRGIN & TATA DOCOMO PREPAID SIM CARD?

Here is the trick to get the unknown mobile number of Reliance,Tata Docomo & Virgin prepaid sim cards.Just dial *1# on your mobile you will get your mobile number on your mobile screen.The mobile number will looks like 91xxxxxxxxxx.
NOTE:xxxxxxxxxx will be your actual mobile number.
HOW TO FIND THE MOBILE NUMBER OF IDEA IDEA,AIRCEL,BSNL & LOOP PREPAID SIM CARDS?
Idea users just dial *789#
Aircel users simply dial *888#
BSNL users dial 24365 and get it.
Loop mobile users dial *222#.

Live Channels

I was able to find some working links that allow you to watch live streaming of few channels like MTV,
9XM and Colours. Open the following mentioned url’s in your mobile phone’s default web
browser to view live streaming of channels:-
rtsp://94.75.250.53:554/rtplive/9xm (9XM – lo version)
rtsp://94.75.250.53:554/live/9xm2 (9Xm – hi version)
rtsp://79.125.116.42/rtpencoder/zenga003.sdp (Colors)
rstp://79.125.116.42/rtpencoder/zenga007.sdp (MTv)
rtsp://121.241.248.1:554/rtpencoder/NDTV24X7_H264.sdp (NDTV 24×7)
rtsp://121.241.248.1:554/rtpencoder/AAJTAK_H264.sdp (AajTak)
UPDATE 1: Here are some more working channels:
rtsp://79.125.95.101/broadcast/aajtak.rm (Aajtak)
rtsp://79.125.95.101/broadcast/zenga001.rm (Colours)
rtsp://79.125.95.101/broadcast/today.rm (Headlines Today)
rtsp://94.75.250.53:554/live/newsx2 (News X2)
rtsp://79.125.95.101/broadcast/tez.rm (Tez – News Channel)
rtsp://79.125.95.101/rtpencoder/utvbin.sdp (UTV Bindass – Link 1)
rtsp://79.125.95.101/broadcast/utvbin.rm (UTV Bindass Link 2)
rtsp://79.125.95.101/broadcast/utvblo.rm (UTV Bloomberg)
rtsp://79.125.95.101/rtpencoder/utvact.sdp (UTV Movies Link 1)
rtsp://79.125.95.101/broadcast/utvact.rm (UTV Movies Link 2)
rtsp://115.248.246.156:554/DD_QVGA.sdp (DD National – Cricket World Cup 2011-Only Indian
Matches) (For S60)
rtsp://59.162.166.216:554/2G/LIVE/DD_QCIF.sdp (DD National – Cricket ODI coverage – India
Vs South Africa, 2011) (For S40)
All the above mentioned links are the latest one’s and have been tried and tested. All of
them are working at the time of posting them!
NOTE: In order to view live streaming make sure you are using socket connection and NOT
proxy connection. As an example, Airtel NOP uses proxy whereas Airtel MO (Mobile Office)
uses Socket connection. And activate unlimited Internet plan before live streaming Live
Indian TV channel else it will turn out to be expensive.

Get Speed by Changing DNS

You can get speed by changing DNS server in Network Configuration.
Here I would recommend you to use Google DNS.
i.e. Primary DNS as 8.8.8.8
Seconday DNS as 8.8.4.4

DNS settings are specified in the TCP/IP Properties window for the selected network connection.

Example: Changing DNS server settings on Microsoft Windows 7


  1. Go the Control Panel.
  2. Click Network and Internet, then Network and Sharing Center, and click Change adapter settings.
  3. Select the connection for which you want to configure Google Public DNS. For example:
    • To change the settings for an Ethernet connection, right-click Local Area Connection, and click Properties.
    • To change the settings for a wireless connection, right-click Wireless Network Connection, and click Properties.

    If you are prompted for an administrator password or confirmation, type the password or provide confirmation.

  4. Select the Networking tab. Under This connection uses the following items, click Internet Protocol Version 4 (TCP/IPv4), and then click Properties.
  5. Click Advanced and select the DNS tab. If there are any DNS server IP addresses listed there, write them down for future reference, and remove them from this window.
  6. Click OK.
  7. Select Use the following DNS server addresses. If there are any IP addresses listed in the Preferred DNS server or Alternate DNS server, write them down for future reference.
  8. Replace those addresses with the IP addresses of the Google DNS servers: 8.8.8.8 and 8.8.4.4.
  9. Restart the connection you selected in step 3. Now you get improvement in internet connection.y
  10. Now press Windows Key(Picture of the Start button)+R to open Run.
  11. Type cmd ( a window opens)
  12. Type “ipconfig /flushdns” without quotes to clear the dns cache. Now you are ready to browse.
Reference: Google DNS

Second Thought


#include<iostream.h>

void main();

Welcome

Welcome to ashishpatel.co.cc.

Here you can get programs, my portfolio and lots more.. Just check that out.