Monday, June 24, 2013

History, Congeniality and Follow the example of Javascript

Javascript introduced first time by Netscape in the year 1995. Initially this Language named " Live script" functioning as simple Language for browser Netscape Navigator 2. During the period this Language a lot of criticism since less be peaceful, its development is impressed in a hurry and no mistake message which presenting each time we make mistake at the (time) of compiling program. Then in line with its impetuous medium cooperation between Netscape and Sun during the period, hence Netscape give name "Javascript" to the Language at date of 4 December 1995. At the (time) of which jousting Microsoft by you try for this technological adapting is which they conceive of “Jscript" in browser internet explorer 3.
Javascript is formed Language of corps script which at its function walk at one particular document HTML, as long as Language of this internet Language is first Language script for web. This Language programming to give additional ability to of Language HTML with to allow execute commands beside user, what its meaning beside browser of non beside web.
Javascript base on browser (navigator) calling containing page yard web of Script from Javascript and of course insert in document HTML. Neither Javascript nor need special translator to run. Dissimilar the things of with Language "Java" (by the name of JavaScript always in differentiating) needing special translator to translate it beside User/client.

To be its clearer please download here...

Presenting ' Hello, World!' at screen

Steps make simple template program:
  1. Run software Microsoft Visual C++ 6.0 from Microsoft Visual Studio 6.0 (if need have recourse assistant)
  2. Select File menu -> New
  3. At dialogued by box select tab Projects, hereinafter:
    • Click Win 32 Console Application
    • Write name project, take example FirstProgram at stuffing Project_Name:
    • Determine directory of this place project be at Location: (possibility of filled with your directory home)
    • ClickOK
  4. Will emerge dialogue of box Win 32 Console Application:
    • Select radiobutton A “Hello, World!” application
    • Click Finish
    • Click OK
  5. At small window (generally on the left):
    • Click tab File View
    • Click sign + at FirstProgram files
    • Click sign + at Sourcefiles
    • DoubleClick at FirstProgram.cpp
  6. Select menu Build à Build Firstprogram.Exe or depress F7 at keyboard
  7. Select icon of exclamation mark (!), will emerge window console…

Reading the two integer and present its quantifying result

Guide:
  1. Use steps of making template program as in for step to five , but using Project_Name which differing, for example SecondProgram

  2. Change block program function play with following:
    int integer1; /* first number to be input by user */
    int integer2; /* second number to be input by user */
    int sum; /* variable in which sum will be stored */

    printf( "Enter first integer\n" ); /* prompt */
    scanf( "%d", &integer1 ); /* read an integer */

    printf( "Enter second integer\n" ); /* prompt */
    scanf( "%d", &integer2 ); /* read an integer */

    sum = integer1 + integer2; /* assign total to sum */

    printf( "Sum is %d\n", sum ); /* print sum */

    return 0; /* indicate that program ended successfully */

  3. Do step 6 and 7 template of such as program I.