Pages

Showing posts with label just fun. Show all posts
Showing posts with label just fun. Show all posts

Sunday 14 September 2014

`gets' function is dangerous how to solve this error and why gets function is dangerous?

  `gets' function is dangerous how to solve this error and why gets function is dangerous?







Never use gets(). Because it is impossible to tell without knowing the data in advance how many characters gets() will
read, and because gets() will continue to store characters past the end of the buffer, it is extremely dangerous to use.
It has been used to break computer security. Use fgets() instead.

so we can use fgets():
In the C Programming Language, the fgets function reads characters from the stream pointed to by stream.
The fgets function will stop reading when n-1 characters are read, the first new-line character is encountered in s, or at the end-of-file, whichever comes first. Then the fgets function will append a null character to the string.

Syntax

The syntax for the C Language fgets function is:

char *fgets(char *s, int n, FILE *stream);
  
s is the array where the characters that are read will be stored.

n is the size of s.

stream is the stream to read.

The fgets function returns s. The fgets function will return a null pointer if an error occurs while trying to read the stream or the end of the stream is encountered before any characters are stored.

In the C Language, the required header for the fgets function is:

#include 
 

#include 
char * fgets(char *restrict s, int n, FILE *restrict stream);
Frightening, no? That’s because fgets() is a file function, which reads text from a file, as in “file get string.” That’s how programmers talk after an all-nighter.
Because the operating system considers standard input like a file, you can use fgets() to read text from the keyboard.
Here’s a simplified version of the fgets() function as it applies to reading text input:
fgets(string,size,stdin);
In this example, string is the name of a char array, a string variable; size is the amount of text to input plus one, which should be the same size as the char array; and stdin is the name of the standard input device, as defined in the stdio.h header file.
THE FGETS() FUNCTION READS A STRING
#include 
int main()
{
  char name[10];
  printf("Who are you? ");
  fgets(name,10,stdin);
  printf("Glad to meet you, %s.\n",name);
  return(0);
}

[ SOLVE] E-FAIL ERROR IN VIRTUAL BOX or VM ORACLE MACHINE



[ SOLVE] E-FAIL ERROR IN VIRTUAL BOX or VM ORACLE MACHINE


Runtime error opening 'C:\Users\COMPUTER_NAME\.VirtualBox\Machines\VM_NAME\VM_NAME.xml' for reading: -102 (File not found.).
D:\tinderbox\win-3.2\src\VBox\Main\MachineImpl.cpp[665] (Machine::registeredInit).
Result Code:
E_FAIL (0x80004005)
Component:
VirtualBox
Interface:
IVirtualBox {3f36e024-7fed-4f20-a02c-9158a82b44e6}



SOL:
I went into the folder "C:\Users\COMPUTER_NAME\.VirtualBox\Machines\VM_NAME\" and saw two xml files but for some reason they both had suffixes.
1. VM_NAME.xml-prev
2. VM_NAME.xml-tmp
So it simply just couldn't find "VM_NAME.xml" because it technically didn't exist.
I made a copy of the "VM_NAME.xml-prev" file and renamed the copy to "VM_NAME.xml"
Restarted VirtualBox and it worked just fine.
S0L2:
UPDATE VM AUTOMATICALLY  SOLVE THE ISSUE.

Wednesday 11 June 2014

LATEST BEST COLLECTION OF ECOMMERCE BLOGGER TEMPLATES FREE DOWNLOAD

CLICK HERE  DOWNLOAD LIVE DEMO THE TEMPLATES:

1.Boutique shopping Responsive e-shopping Blogger Template Free Download 

                                

                              CLICK HERE

 

2.Johny Blackstore Responsive e-shopping Blogger Template Free Download

                           

                                CLICK HERE

 

3. johny mega store blogger ecommerce template download

                   

 

 

                                 CLICK HERE

 

4.johny jass store blogger ecommerce film template download

 

                                 CLICK HERE

 

5.shoppaholic cart ecommerce blogger template download 

 

                                     CLICK HERE

 

6.Johny Crott Ecommerce ekart Blogger Template Free Download 

 

                                CLICK HERE

 

7.BlogrShop Ecommerce ekart blogger template download

 

                             CLICK HERE

Thursday 3 April 2014

Free XUS Pc Lock Software Download here ( include crack)

XUS PC Lock offers a new and fun way for you to lock your computer. Before using XUS PC Lock, you have to define your lock pattern. The next time you will see the lock screen, You trace your mouse in the pattern you drew before and your computer will unlock. Any other pattern and in any other order will not unlock the computer. XUS PC Lock can lock the whole computer. This is the most feature rich lock computer application available today with lots of customization options. XUS PC Lock is the ultimate customizable lock computer application allowing you to pick custom images for the lock screen. XUS PC Lock can auto-lock the computer when windows startup and computer inactivity. XUS PC Lock allows you to set an alert mode when the incorrect pattern is entered a maximum times. If you want to lock your computer as lock a touch smartphone, Please try our XUS PC Lock. It is really awesome!

IMPORTANT REMINDER: 1. Please don’t forget your lock pattern! 2. It’s best if you’ll also set a password in your computer for maximum security.

Benefits & Features


* A new & fun way for you to lock your computer.
* Support Multiple Monitors.
* Anti Key-Logger. XUS Dynamic Password Technology makes your computer more secure.
* The funniest, most customizable way to lock your computer!
* Have 3 built-in patterns: 3x3, 4x4, 5x5 you can choice.
* Locking and Unlocking animation effect.
* Be able to disconnect internet access when system is locked.
* Back up pattern feature.
* Auto-lock the computer when Windows startup or in idle mode.
* Set a timer to turn off monitor automatically.
* Show Time and Date on locked screen.
* Make your computer has Windows 8's lock feature.
* Alert if the incorrect pattern is entered a maximum times. Completely customizable.
* Custom background image, and lots of customization options for the look of the locked screen.

click here download

Monday 16 December 2013

How to know my ports numbers with Which Devices are Connected to my USB Port

Open device manager
Start ->
    Control Panel ->System 
                      Hardware ->Device Manager
  Follow the below steps to see what devices are connected to your USB ports:
  1. Click View at the top of device manager and click Devices by Connection.
  2. Click the + next to ACPI Multiprocessor PC.
  3. Click the + next to Microsoft ACPI-Compliant System.
  4. Click the + next to PCI Bus.
  5. Click the + next to each one of the USB Universal Host Controller listings (See the screenshot below.  The exact controller listings can vary based off the controller manufacturer such as Intel, VIA, SIS, NEC, OpenHCD, etc.)
  6. Click the + next to USB Root Hub under each controller listing.
  7. You may have to expand all of the controller and root hub listings to find the USB Controller and Root Hub your device is connected to.  See the screenshot below for an example of what you should see.


how to know my mobile phone number(all networks worked)

  • Vodafone-*111*2#
  • Videocon-*1# Bpl-*222#
  • Reliance-*111#or *1#
  • Idea-*100# or *789#
  • Docomo-*580#
  • Airtel-Send SMS IM to 57070 or *282# or *121*9# or *140*1600#
  • Aircel-*#1#888# or*131#
  • Uninor- *1#
  • BSNL -*123# or Call 24365 and ask them Loop- Dial *222#
  • Virgin-Dial *1#
  • Aircel , Docomo ,*1#

Thursday 28 November 2013

how to create without name folder and hide this folder

Make a Newfolder on desktop or where ever you want.
Right click on this newly created folder and select Rename.
Erase the text showing "New Folder".
Now keep Pressing Alt and type 255. If you are on laptop then you need to enable your Num Lock and type from the

highlighted number keys not from those below function keys.
After that leave alt key and Press enter.
Done you just created nameless folder.

and right click this folder and goto custom and change icon choose following figure
hide the folder
      ============enjoy===============================================

                            

Thursday 10 October 2013

FREE WEBHOSTING AND SIMPLE CONTROL PANEL PROVIDED BY 000WEBHOST

 000WEBHOST.COM PROVIDED FREE WEBHOSTING AND SIMPLE CONTROL PANEL

 1500 MB Disk Space, 100 GB Data Transfer

Every account receives 1500MB space and a whopping 100GB bandwidth, made possible by the unmetered connections our servers utilise. Should your site ever need more than our standard package can offer, we also offer a wide range of upgrade options.

Web Hosting

PHP with MySQL Database Support

Unlike other free webhosts we do support PHP and MySQL with no restrictions. You get full access to the latest version of PHP and MySQL. The following PHP features are fully supported:
  • PHP mail() function and Sendmail
  • Curl, GD2 library, XML, Zend, .htaccess support
  • fopen() and PHP sockets
  • safe_mode is OFF, file uploads are ON
  • Zend Optimizer support, Ioncube loader.. and much more features are enabled

cPanel Control Panel

cPanel is the most advanced control panel in industry. It has tons of features and it is easy to use even for newbie. Interactive help, video tutorials will help you to understand why cPanel is the best and you will never want to switch to anything else. cPanel is widely used by the paid hosts, but we are giving you it absolutely free!

Fantastico De Luxe 1-Click Autoinstaller

Finally! We are the first free webhosting company that gives you access to Fantastico Autoinstaller. Fantastico is a system designed to make installing popular scripts easy. If you want to improve your web site with a discussion forum or an online gallery to show everyone your latest holiday snaps, you can. With a few clicks of your mouse your web site will be transformed into a fantastic resource for you, your business or your family.
Fantastico can install over 40 popular scripts such as: Drupal, Geeklog, Joomla, Xoops, WordPress, b2evolution, Support Logic Helpdesk, phpBB2, SMF, OS Commerce, ViPER Guestbook, Coppermine Photo Gallery, PhpWiki, PHPauction, WebCalendar and more. To see full list of available installations 

Website Builder Software

Our hosting is supercharged with SiteReptile website builder. SiteReptile is the easiest to use website builder in the market. Just 3 steps (enter your login details, select one of 330 high quality templates and click 'publish') and your website is ready online for editing. Just one click - and you have subpage created or contact form inserted.


YOU CAN SIGNUP 000WEBHOST.COM CLICK HERE

Sunday 29 September 2013

INTRODUCTION TO JAVA AND JAVA EDITIONS AND NUMBER SYSTEMS IN JAVA


java

HISTORY OF JAVA AND DOWNLOAD(PDF)


what is java:
            java is a object oriented,platform independent programming language from sun micro system which is released into the marked on the name of development of the distributed applications.
 what is java slogan:
                      "Write Once Run Anywhere "(WORA)
java is a platform independent programming language.it means that program is written once and the program is executed irrespective of the operating system.
 why java is suitable for internet:
     security problems on internet are eliminated through java.java is a system independent,java is executable on any platform
JAVA HISTORY:
  IN 1990,sun microsystems inc., USA is developed software for remotes..in 1993,oak language is developed,by that time some company is registered oak name,for this reason they named as "java".
in 1995,sun world conference has given entire details of java.

javajavajava software all copy rights are purchased oracle



CLICK HERE DOWNLOAD PDF DOCUMENT 


java editions:


Sun micro systems provides ,with the advent of java,new versions had multiple configurations built for different types of platforms.those are
  • JSE
  • JEE
  • JME.
JSE:java platform,standard edition:
JSE stands for java platform,standard edition,it is specification used to develop fundamental
java application they may be standard or network.

JEE:java platform,enterprise edition:

 JEE stands for java platform, enterprise edition,it is specification used to develop business
solutions for network (or)JEE is specification that provides an environment to run the web components and the enterprise components.

 JME:java platform,micro edition:
JEE stands for java platform, micro edition,it is specification used for developing wireless and
embedded system.embedded system is software,which directly installed into hardware.
java software:
             java software is cotegorized in to two types
                JAVA=JDK+JRE
  JDK
           it stands for java development kit
JRE:
          it stands for java runtime environment 
          JRE=JVM+JAVA LIBRARY

if java programs have to run we required the jvm and java library.jvm will starts execution of java
program from main method only.
  • in java every statement must end with semi colon(;).
  • java is case sensitive programming language.
In this real world we have 4 types of number systems they are:
1.binary number system           [format:0,1]
2.octal number system             [format:0,1----7]
3.decimal number system        [format:0,1-----9]
4.hexa decimal system             [format:0,1---9,a,b,c,d,e,f ] 
genarally we use the decimal number system in any programming language.

  In java we can represent the binary values by giving ob infront of the number
ex: int ob10;(correct)
     int x=o4235;(wrong)

representation of the binary number feature is introduced in java 1.7


we can represent the octal values in java programming language by giving o infront of the number
ex: int i=o24;(correct)
        int k=o248;(wrong)[because octal range 0-7]

we can represent the hexa decimal values in java programming language by giving ox infront of the number
ex: int i=ox123;(correct)
        int k=ox245a;(wrong)
         int k=123a;(wrong)

note:JVM takes the binary data ,octal data,decimal data,hexa decimal data convert in the form of decimal format and give the output as adecimal
example programme:
  class ndemo
{
public static void main(String args[])
{
  int i=24;
int j=o72;
int k=ox2a;
int l=ob10;
System.out.println(i);
System.out.println(j);
System.out.println(k);
System.out.println(l);
}
}
note:this programme run java 1.7 or above versions because binary values format does not suppport java 1.7 below versions.
output:
24
58
42
2

Wednesday 31 July 2013

TRACE THE LOST MOBILE WITH THE IMEI NUMBER

FOLLOW THIS STEPS :
STEP 1:
             first  know your mobile imei number dial your phone *#06#. if your phone already lost then just look at the box at which your phone was packed just look at the sides of that box given there

     note:so write down the imei number some where as this will help you get back your lost mobile
STEP 2:
          next send the details of this email  cop@vsnl.net

sending details:
 NAME:
 ADDRESS:
 IMEI NUMBER:
 MODEL:
COMPANY:
 LAST USED NUMBER:
YOUR E MAIL FOR OMMUNICATION:
MISSED DATE:


             just send the details of this email cop@vsnl.net  and respond the within 24 hours your mobile is tracing and send where is your mobile present.

so another way of tracing your lost mobile and that is through this website
visit website:
                        http://www.trackimei.com

note down your imei number very useful if in future you lost your mobile number.

Wednesday 8 May 2013

WHAT YOU THE THINK YOUR MIND???

FOLLOW THIS INSTRUCTIONS
1.click this website click here
2.think of a number with two digits
    ex:10
3.next we will the two digit number will be add
  ex:1+0=1
4.next first two digit number and 3rd step number will be subtracted
ex:10-1=9
5.final number is remembered
6.next display the symbols and your number is showing the symbol
7.that symbol will be seeing the result

Saturday 23 March 2013

మీ మైండ్ ఏం ఆలొచిస్తోందో తెలుసుకోవాలని ఉందా?

1.ఈ వెబ్ సైట్ ని క్లిక్ చేసి ఆడండి::CLICK TO GO 2.మీరు ఎదో ఒక టూ డిజిట్ నంబర్ మీ మనసులో అనుకోండి ex:10 3.తరువాత ఆ టూ డిజిట్ నంబర్ ని ADD చేయండి Ex:1+0=1 4.తరువాత మీరు మొదట అనుకున్న టూ డిజిట్ నంబర్ ని కింద వచ్హిన నంబర్ తొ SUBTRACT చేయండి Ex:10-1=9 5.ఇక మీ Final number ని గుర్తు పెట్టుకోండి. Ex:my final number is 9 6.అక్కడ Display అయిన symbols తొ మీ నంబర్ ఏ image తొ ఉందో చూడండి 7.మీ మైండ్ లొ ఉన్న image చూపిస్తుంది

Tuesday 1 January 2013

AMAZING PHOTO APPLE THROUGH THE BULLET

AMAZING PHOTO

                          APPLE THROUGH THE BULLET

                   watch the video click

Monday 31 December 2012

Three Apples that Changed the World


Three Apples that Changed the World

 

Adam and Eve

 

Isaac Newton

 

Steve Jobs

         more information about Steve Jobs

REMMEMBER TO RAINBOW COLOURS

REMMEMBER TO RAINBOW COLOURS

                   REMEMBER TO THIS WORD VIBGYOR

V-VIOLET

I-INDIGO

B-BLUE

G-GREEN

Y-YELLOW

O-ORANGE

R-RED 

MORE INFORMATION ABOUT RAINBOW CLICK

REMEMBER TO NINE PLANETS FOLLOWING THIS SENTENCE

REMEMBER TO NINE PLANETS FOLLOWING THIS SENTENCE                                   

My Very Educated Mother Just Showed US Nine Planets

M- Mercury
V-Venus
E-Earth
M-Mars
J- Jupiter
S-Saturn
U-Uranus
N-Neptune
P- Pluto

       very  useful information about solar system is CLICK