My Friend Computer

来源:互联网 发布:开票软件无法启动 编辑:程序博客网 时间:2024/04/30 07:38
  1.  

 

When I was fourteen I made a friend with computer which are machines that perform tasks or calculations to a set of programs ,or instructions for the first time in the NetBar .Form then on she as my chummy friend till now and last  year I bought my own laptop computer .

     Now let me introduce it to you .The first computer in the world is ENIAC which was built for the United states military to calculate the paths of artillery shells ,it was very huge and very slowly .Today ‘s computer are thousands of times faster ,amazing ,it can fit one your desk, in your lap, or even in your pocket .

     Computer work though an interaction of hardware and software .Hardware include system  unit ,power supply ,the motherboard ,expansion slots ,input hardware consists of external device ----that is ,mouse keyboard , out hardware consists of monitor and printer and so on  ,storage hardware which contains hard disk ,memory . The most important part of the computer is CPU .Software is a program that enables a computer  to perform a specific task, as opposed to the hardware .This includes application software and system software such as OS and program system .A computer without software is just like a record player without any records .System software helps run the computer hardware and computer system .it includes OS ,device drivers ,diagnostic tools ,servers utilities and more. Program software usually provides tools to assist a programmer in writing computer programs and software using different programming    languages in a more convenient way .The tools include text editors ,compliers ,links ,interpreters and so on .Application software allows humans to accomplish one or more specific tasks .OS can be devided into two main groups :text based and graphics based .The first OS were text based –allows instructions to the computer had to be typed .The graphic based OS ,more correctly called GUI ,involves the use of some pointing device such as mouse ,and allows the user indicate and action form the computer to take by manipulating icons ,or selecting items from menus .

     Today Microsoft Windows is installed one more than 80% of the world’s computers. The first version of the Windows is w3.1,sometimes called operating environment rather than operating system ,because its required DOS to supply the operating system kernel .Mac OS is a series of graphical user interface based operating system developed by APPLE company for their macintosh line of computer systems .Linux is rather unique because it is distributed along with its source code under the terms of a General Public Licence ,which allows everyone today make copies for their own use,to give to others ,or to sell.The first operating system I used was Windows XP ,I found its function is very little ,so I changed it with Windows Vista which has hundreds of new features ,some of the most significant of which include an update graphical user interface and visual style dubbed Windows Aero,  improved searching features , new  multimedia creation tools such  as Windows DVD Maker ,and completely redesigned networking ,audio ,print ,and display sub—system .I think the most important invent is the user of version 3.5 of the moment .NET Framework which make it significantly easier for developers to write high-quality application than with the traditional Windows API.

      Now I introduce the programming languages which I most like doing with my computer . programming languages are divided into two major categories : low-level languages and high –level languages . low-level languages include machine languages and assembly languages .I’m learning assembly language ,the C++ program ,the C# program ,and JAVA . All of these languages C# is my best like.let me tell you how to creat a C# application with visual stdio 2008 And Windows vista :  n the File menu, point to New, and then click Project.

Ensure the Windows Application template is selected, in the Name field, type MyProject, and click OK.

You will see a Windows Form in the Windows Forms designer. This is the user interface for your application.

On the View menu, click Toolbox to make the list of controls visible.

Expand the Common Controls list, and drag the Label control to your form.

Also from the Toolbox Common Controls list, drag a button onto the form, near the label.

Double-click the new button to open the Code Editor. Visual C# has inserted a method called button1_Click that is executed when the button is clicked.

Change the method to look like this:

private void button1_Click(object sender, EventArgs e)

{

    label1.Text = "Hello, World!";

}

Press F5 to compile and run your application.

When you click the button, a text message is displayed

Here is the whole example :::::

using System;

using System.Collections.Generic;

using System.Text;

using System.Linq;

using System.Linq.Expressions;

using System.Reflection;

using System.Reflection.Emit;

dnamespace System.Linq.Dynamic

{

    public static class DynamicQueryable

    {

        public static IQueryable<T> Where<T>(this IQueryable<T> source, string predicate, params object[] values) {

            return (IQueryable<T>)Where((IQueryable)source, predicate, values);

        }

 

        public static IQueryable Where(this IQueryable source, string predicate, params object[] values) {

            if (source == null) throw new ArgumentNullException("source");

            if (predicate == null) throw new ArgumentNullException("predicate");

            LambdaExpression lambda = DynamicExpression.ParseLambda(source.ElementType, typeof(bool), predicate, values);

            return source.Provider.CreateQuery(

                Expression.Call(

                    typeof(Queryable), "Where",

                    new Type[] { source.ElementType },

                    source.Expression, Expression.Quote(lambda)));

        }

 

        public static IQueryable Select(this IQueryable source, string selector, params object[] values) {

            if (source == null) throw new ArgumentNullException("source");

            if (selector == null) throw new ArgumentNullException("selector");

            LambdaExpression lambda = DynamicExpression.ParseLambda(source.ElementType, null, selector, values);

            return source.Provider.CreateQuery(

                Expression.Call(

                    typeof(Queryable), "Select",

                    new Type[] { source.ElementType, lambda.Body.Type },

                    source.Expression, Expression.Quote(lambda)));

        }

 

        public static IQueryable<T> OrderBy<T>(this IQueryable<T> source, string ordering, params object[] values) {

            return (IQueryable<T>)OrderBy((IQueryable)source, ordering, values);

        }

The C# languages is more like sentence and is very easy to understand and to design user-friendly programs for their clients ,and I think iss the most important and popular computer program languages in the future and have a wide array on the market.

 

原创粉丝点击