Skip to main content

Posts

Showing posts from October, 2017

C program to insert delete and display using doubly linked list...

Wait for code to load.... #include <stdio.h> #include <stdlib.h> struct node {   int item;   struct node *prev;   struct node *next; }; struct node *head = NULL; struct node *start = NULL; struct node * create_new_node () {   struct node *temp = (struct node *) malloc (sizeof (struct node));   if (!temp)     {       printf (" memory not allocated ..exiting...\n");       getchar ();       exit (1);     }   return temp; } void insert (int x) {   struct node *var = create_new_node ();   var->item = x;   var->next = NULL;   if (start == NULL && head == NULL)     {       var->prev = NULL;       head = start = var;     }   else     {       var->prev = head;       head->next = var;       head = var;     } } void display (struct node *start) {   struct node *temp;   temp = start;   if (temp == NULL)     return;   else     {       while (temp != NULL) {   printf ("%d ->&quo

Google tez : refer and earn upto rs 9000... Free..Into your bank account..

These days foreign companies are actively investing in Indian market because they understand business potential and ever-growing opportunity in India. There are plenty of examples such as Amazon, Uber and the list goes on. Now search engine giant Google has made its way in India by launching Tez android application. Not just android but even iOS users can enjoy this app on their iPhones. Proof :- Google Tez Refer & Earn Offer 1] First of all, download Tez app  from here  on your android phone. 2] Now open it and enter your mobile number. Make sure that the number you have provided is already linked with any of your bank account. 3] After adding mob number, Tez will start searching for the bank accounts and it will show you on the screen. Select the one which you want to set as a default for making & receiving payments. 4] Once the above step is over, start sending money or try making payment from Tez. If you don’t have anyone who is using Tez, then you can

Live bootable linux usb

Unetbootin ..  UNetbootin has built-in support for automatically downloading and loading the following distributions: Ubuntu, Debian, Fedora, PCLinuxOS, Linux Mint, Sabayon Linux, Gentoo, MEPIS, openSUSE, Zenwalk, Slax, Dreamlinux, Arch Linux, Elive, CentOS, Damn Small Linux, Mandriva, SliTaz, FaunOS, Puppy Linux, FreeBSD, gNewSense, Frugalware Linux, NetBSD but can work with others too. Link... Download from here UNetbootin can also be used to load various system utilities, including: Parted Magic , a partition manager that can  resize , repair, backup, and restore partitions. Super Grub Disk , a boot utility that can  restore and repair  overwritten and misconfigured GRUB installs or directly boot various operating systems Backtrack , a utility used for network analysis and penetration testing. Ophcrack , a utility which can recover Windows passwords. NTPasswd , a utility which can reset Windows passwords and edit the registry. Gujin , a graphical

Creating an Executable Jar File

Creating a jar File in  Eclipse In  Eclipse  Help contents, expand "Java development user guide" ==> "Tasks" ==> "Creating JAR files."  Follow the instructions for "Creating a new JAR file" or "Creating a new runnable JAR file."The  JAR File  and  Runnable JAR File  commands are for some reason located under the  File menu: click on  Export...  and expand the  Java  node. Creating a jar File in  JCreator You can configure a "tool" that will automate the jar creation process.  You only need to do it once. Click on  Configure/Options . Click on  Tools  in the left column. Click  New , and choose  Create Jar file . Click on the newly created entry  Create Jar File  in the left column under  Tools . Edit the middle line labeled  Arguments:  it should have cvfm $[PrjName].jar manifest.txt *.class Click OK. Now set up a project for your program, create a manifest file  manifest.txt  or copy and edit an existing

java Swing -IP FINDER SOURCE CODE....

here is the source Code :- compiled and ran under ubuntu 16.04 LTS.. DOWNLOAD IPFINDER.JAR import  javax.swing.*;   import  java.awt.event.*;   import  java.net.*;   public   class  IPFinder  extends  JFrame  implements  ActionListener{       JLabel l;       JTextField tf;       JButton b;   IPFinder(){        super ( "IP Finder Tool - RAJ360" );       l= new  JLabel( "Enter URL:" );       l.setBounds( 50 , 70 , 150 , 20 );;       tf= new  JTextField();       tf.setBounds( 50 , 100 , 200 , 20 );              b= new  JButton( "Find IP" );       b.setBounds( 50 , 150 , 80 , 30 );       b.addActionListener( this );       add(l);       add(tf);       add(b);       setSize( 300 , 300 );       setLayout( null );       setVisible( true );   }   public   void  actionPerformed(ActionEvent e){       String url=tf.getText();        try  {           InetAddress ia=InetAddress.getByName(url);           String ip=ia.getHostAddress();