亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? the c programming language torn apart.html

?? a collection of mega hacking tools
?? HTML
?? 第 1 頁 / 共 2 頁
字號:
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">
<META NAME="Generator" CONTENT="Microsoft Word 97">
<TITLE>The C Programming Language Torn Apart</TITLE>
</HEAD>
<BODY LINK="#0000ff">

<FONT SIZE=2>
<B><P>The C Programming Language Torn Apart</P>
</B>
<P>Introduction: The evolution and Description of C</P>

<P>The C programming language is a general purpose language which was originally designed for use on the Unix Operating System by Dennis Ritchie. The Unix Operating System, Unix Applications and Tools have been coded in C. This language has evolved from Ken Thompson's B language, which was the language designed for the first Unix System. </P>

<P>C is not a machine specific language and a C program can easily be edited to make it work on various platforms. After the creation of the C programming language, over the years, C became the most preferred language amongst programmers around the world. Due to its immense popularity, many companies developed their own versions of the C compilers, added new features and commands etc This resulted in no specific standard followed by the various programs and led to utter confusion amongst programmers around the world. A need was felt to introduce a standard machine independent code which would be followed by all and make life a lot more easy for programmers.  So in 1983 the American National Standards Institute (ANSI) established a committee which aimed at doing just that. This series of manuals too is based on and follows ANSI standards.</P>

<P>C is a high level language. By that what I mean to say is that the C commands or code is written in code which is easily understandable by humans. Its commands are infact plain English words and symbols. As a result C is non machine specific. C is not an interpreted language and unlike Perl a C program has to be first converted into Binary code with the help of a compiler. A compiler does just what the name suggests, compilation i.e. conversion of human understandable code into Binary machine understandable code.</P>

<P>So, even before you can continue reading this manual, you need to get yourself a compiler. To compile C programs, even any C++ compiler would do. If you are a Windows user, then I suggest you get Visual C++, which is a part of Microsoft' s Visual Studio. Although it costs a lot, it is my favorite as it also gives you the benefit of using the MSDN Library. The other good compiler would be Borland C++ 5.5 (available for free download from: http://www.borland.com/bcppbuilder/freecompiler/ ) Then there is DJGPP which is available at:  </FONT><A HREF="http://www.delorie.com/djgpp/"><FONT SIZE=2>http://www.delorie.com/djgpp/</FONT></A><FONT SIZE=2>. </P>

<P>If you are running any kind of Unix, then you have a C compiler in your disk itself. You  see, the cc and gcc utilities are actually C compilers. For more details, read Carolyn's GTMHH on C, at happyhacker.org</P>

<P>The Standard C Header Library</P>

<P>The ANSI C standard library is an exhaustive collection of pre written routines or functions that are needed by programmers in various applications again and again. Without the functions and routines contained by the header files, a program cannot work properly. Now instead of including the entire code of a long header file in each program , we declare the header files used by the program and reuse the routines contained by them. To understand header files better, read on.</P>

<P>Let us take a practical example to see what actually happens when we try to display a string on the screen. Now to print something on the screen, without using any header file, we need to follow a very complex procedure. Firstly, we would need to extract the string to be printed from the program code, then look for the port in which the Standard Output device is installed, then send the string to that particular port, instructing the Standard Output Device what to do with the string. To write the entire set of above instructions in each C program we develop, would be really cumbersome and inefficient. That is why we use Header Files. With the use of Header Files, we can leave the coding of the entire above procedure to the Header File. With the use of Header Files, we no longer need to know how to communicate with certain Hardware, but instead simply need to know which routine or function to use. Header Files have a .h extension.</P>

<P>The following is a complete list of header files which are a part of the Standard ANSI library-:</P>

<P>&lt;stdio.h&gt;&#9;&#9;Standard Input \ Output</P>
<P>&lt;assert.h&gt;&#9;&#9;Diagnostics</P>
<P>&lt;ctype.h&gt;&#9;&#9;Character Handling</P>
<P>&lt;errno.h&gt;&#9;&#9;Errors</P>
<P>&lt;float.h&gt;&#9;&#9;Characteristics of Floating Types</P>
<P>&lt;limits.h&gt;&#9;&#9;Sizes of Integral Types</P>
<P>&lt;locale.h&gt;&#9;&#9;Localisation</P>
<P>&lt;math.h&gt;&#9;&#9;Mathematics</P>
<P>&lt;setjmp.h&gt;&#9;&#9;Non Local Jumps</P>
<P>&lt;signal.h&gt;&#9;&#9;Signal Handling</P>
<P>&lt;stdarg.h&gt;&#9;&#9;Variable Arguments</P>
<P>&lt;stddef.h&gt;&#9;&#9;Common Definitions</P>
<P>&lt;stdlib.h&gt;&#9;&#9;Commonly used General Utilities</P>
<P>&lt;string.h&gt;&#9;&#9;String Handling</P>
<P>&lt;time.h&gt;&#9;&#9;Date and Time</P>

<P>NOTE: For the Time being, we are only concerned with the Standard I\O header file: stdio.h</P>

<P>Like in the Perl Manual, we will start with the obligatory Hello World program which simply prints the text: Hello World on the screen. It is a big step in a novice's programming career and a person gets immense pleasure if his first program works without any problems. </P>

<P>The following is the source of the Hello World Command. Before I analyze and explain each line of the program, study the program and try to figure out what each line does, then move on to my explanation and see how much you got right.  Self Learning can go a very long way. </P>

<P>#include &lt;stdio.h&gt;</P>
<P>main() {</P>
<P>printf ("Hello World \n");</P>
<P>}</P>

<P>Output-:</P>

<P>Hello World</P>

<P>Now let us analyze the code snippet. The first line tells the computer to include information or commands and functions or routines from the header file: stdio.h which is needed to do anything regarding </P>
<P>Input \ Output. The second line defines the function called main. The main function is a special function as it is this function, which by default starts automatically whenever a program is run. [NOTE: Other normal functions can be named anything we want them to be called. We will learn more about functions in upcoming manuals.] The empty brackets, the ( ), after main specify that the function main does not receive any arguments. A function contains certain statements or commands which are executed each time the particular function is called. Now, these statements are enclosed within curly brackets or braces. The '{ }'.</P>
<P>In our first example, the function main has only one statement. </P>

<P>So how does Hello World actually get printed on the screen? Well as soon as the function encounters the function 'printf', it gets the arguments contained by it i.e. the text within the brackets ( ). Then the program calls the printf function in the header file: stdio.h and passes it the values to be printed.</P>
<P> </P>
<P>The '\n' is the newline character which causes the Output Cursor to move to the first column of the next row or line. Let us see an example to understand how the newline character works.  Say, you want to modify your first C program such that it prints Hello on one line and World on the next line. Then the code would become:</P>

<P>#include &lt;stdio.h&gt;</P>
<P>main () {</P>
<P>printf ("Hello");</P>
<P>printf ("\n");</P>
<P>printf ("World");</P>
<P>}</P>

<P>Output:</P>

<P>Hello</P>
<P>World</P>

<P>Well, actually the same could be achieved with a smaller piece of code:</P>

<P>#include &lt;stdio.h&gt;</P>
<P>main () {</P>
<P>printf ("Hello \n World");</P>
<P>}</P>

<P>Get it?  OK, now that you know what the basic structure of a C program is, let us learn some C routines in detail.</P>

<P>The printf Routine: Printing Stuff</P>

<P>The printf routine is a part of the Standard I\O Header file: stdio.h. It helps to display text, numbers and symbols in the specified format on the standard Output Device, which is normally your Monitor.</P>
<P>The general syntax of the printf routine is:</P>

<P>printf ("Characters", ARG1, ARG2匒RGn);</P>

<P>where CHARACTERS is the string to be displayed on the screen. It can have upto 3 distinct escape character sequences, [I have discussed them later in this section.] in any combination. The ARGn is normally a variable whose value is printed on the screen. Confused? Well the following example, ought to clear all your doubts.</P>
<P>Example:</P>

<P>#include &lt;stdio.h&gt;</P>
<P>main () {</P>
<P>printf ("PIE=" , PIE);</P>
<P>}</P>

<P>Assuming that the value of the Variable PIE is 3.14, the output of the above would be:</P>

<P>PIE= 3.14</P>

<P>The following is a complete list of possible escape sequence characters which are a part of ANSI C:</P>

<P>\a&#9;&#9;Alert Bell</P>
<P>\b&#9;&#9;Backspace</P>
<P>\f&#9;&#9;Form Feed</P>
<P>\n&#9;&#9;New Line&#9;</P>
<P>\r&#9;&#9;Carriage Return</P>
<P>\t&#9;&#9;Horizontal Tab</P>
<P>\v&#9;&#9;Vertical Tab</P>
<P>\\&#9;&#9;Backslash</P>
<P>\?&#9;&#9;Question Mark</P>
<P>\'&#9;&#9;Single Quote</P>
<P>\"&#9;&#9;Double Quotes</P>
<P>\ddd&#9;&#9;Where ddd is an octal number and represents the ASCII code for the number</P>
<P>\xdd&#9;&#9;Where ddd is a Hexa Decimal number and represents the ASCII code for the number</P>

<P>Examples:</P>

<P>printf  ("Is this a VIRUS ALERT \? \a");</P>

<P>will print Is this a VIRUS ALERT ? on the screen and will sound a bell from the CPU Speaker.</P>

<P>printf ("Ankit \t Fadia \n Fadia \t Ankit");</P>

<P>will print the following on the screen:</P>

<P>Ankit&#9;Fadia</P>
<P>Fadia&#9;Ankit</P>

<P>Formatting your Output using Printf Options</P>

<P>This part might seem a bit weird to grasp, but I assure you, if you read the entire section, you will find it quite easy. You just need to try not give at half stage before reading the entire section.</P>

<P>The general syntax of the printf formatting option is:</P>

<P>%width[.precision] type</P>

<P>where width is the minimum size of the field in which the characters (Output) has to be displayed. It is the number representing the minimum size of the field for displaying the output. The output is right justified unless the width is negative, in which case the output is right aligned. The width does not truncate the output, but accordingly increases its size, to accommodate the output.</P>

<P>The Type can be anything from the below options-:</P>

<P>&nbsp;</P>
<P>d, i &#9;Decimal Number</P>
<P>o&#9;unsigned Octal</P>
<P>x, X&#9;unsigned Hexadecimal</P>
<P>u&#9;unsigned Decimal Integer</P>
<P>c&#9;Single Character</P>
<P>s&#9;String</P>
<P>f&#9;Floating Point Decimal</P>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩欧美一区中文| 欧美精品色综合| 国产麻豆91精品| 精品亚洲porn| 国产一区二区h| 国产成a人亚洲精| 不卡一区二区在线| 色综合视频一区二区三区高清| 成人小视频免费观看| 91免费版在线看| 91国产免费看| 日韩一二三区视频| 久久综合狠狠综合久久综合88| 欧美本精品男人aⅴ天堂| 久久久久亚洲蜜桃| 国产精品美女久久久久久久久| 亚洲欧美中日韩| 一区二区免费看| 久久国产日韩欧美精品| 国产成人精品三级| 色噜噜偷拍精品综合在线| 制服视频三区第一页精品| 久久久久久久久久久久久夜| 亚洲欧洲精品一区二区精品久久久 | 一区二区三区不卡在线观看 | 欧美成人vps| 国产精品美女久久久久av爽李琼| 综合久久久久久久| 有码一区二区三区| 免费成人在线网站| 97精品电影院| 欧美成人在线直播| 亚洲欧洲一区二区在线播放| 日韩成人一级大片| av爱爱亚洲一区| 欧美一区二区三区视频免费| 国产欧美精品在线观看| 亚洲制服欧美中文字幕中文字幕| 国产一区二区三区不卡在线观看 | 视频精品一区二区| 高清shemale亚洲人妖| 欧美一区二区国产| 亚洲乱码国产乱码精品精的特点| 日本不卡高清视频| 色哟哟在线观看一区二区三区| 日韩无一区二区| 亚洲精品中文字幕在线观看| 热久久久久久久| 在线免费av一区| 国产精品美女久久久久久久| 久久国产精品72免费观看| 欧美日韩在线免费视频| 中日韩免费视频中文字幕| 另类的小说在线视频另类成人小视频在线| www.日韩在线| 国产清纯美女被跳蛋高潮一区二区久久w| 亚洲成人tv网| 日本道在线观看一区二区| 国产精品久久久久影院色老大| 精品一区二区日韩| 91精品国产综合久久精品麻豆 | 亚洲午夜国产一区99re久久| 成人黄动漫网站免费app| 亚洲精品一区二区三区在线观看| 亚洲一区二区视频在线观看| 91美女在线观看| ●精品国产综合乱码久久久久| 成人a级免费电影| 国产精品免费久久| 国产精品 日产精品 欧美精品| 精品日韩成人av| 九九久久精品视频| 精品日韩在线观看| 精品一区二区综合| 久久精品视频一区二区三区| 国产精品综合一区二区三区| 久久免费国产精品| 成人不卡免费av| 亚洲码国产岛国毛片在线| 91视视频在线观看入口直接观看www | 日韩一区二区三区三四区视频在线观看| 亚洲国产日韩a在线播放性色| 欧洲色大大久久| 丝袜诱惑亚洲看片| 日韩一二在线观看| 国产精品资源网站| 国产精品视频在线看| 99久久精品免费看| 亚洲激情男女视频| 欧美一区欧美二区| 韩国一区二区三区| 国产精品萝li| 91久久一区二区| 久久国产精品99精品国产| 欧美激情一区二区三区全黄| 色综合中文字幕国产 | 日韩精品一区二区三区视频播放| 狠狠色丁香婷综合久久| 日本一区二区免费在线| 色哟哟亚洲精品| 美女视频免费一区| 国产精品久久久久久久久免费樱桃| 色吊一区二区三区| 久久99九九99精品| 一区二区三区四区中文字幕| 日韩网站在线看片你懂的| 成av人片一区二区| 日韩电影在线观看一区| 国产目拍亚洲精品99久久精品| 一本久久a久久免费精品不卡| 免费在线观看视频一区| 18欧美乱大交hd1984| 91精品久久久久久久久99蜜臂| 成人污污视频在线观看| 亚洲成人一二三| 国产精品日日摸夜夜摸av| 欧美人妖巨大在线| 91在线视频网址| 久久丁香综合五月国产三级网站| 亚洲人成网站精品片在线观看| 精品国一区二区三区| 日本乱人伦aⅴ精品| 国产精品99久久久久| 五月天久久比比资源色| 亚洲男人电影天堂| 国产日韩欧美a| 精品日韩成人av| 欧美日韩精品欧美日韩精品| 播五月开心婷婷综合| 另类中文字幕网| 日韩av网站免费在线| 亚洲一区二区三区在线播放| 国产精品的网站| 国产色综合一区| 久久综合狠狠综合| 69久久夜色精品国产69蝌蚪网| 色老汉av一区二区三区| av一本久道久久综合久久鬼色| 麻豆成人综合网| 日韩黄色小视频| 视频一区二区国产| 日韩二区三区四区| 亚洲国产日韩a在线播放| 亚洲一区在线观看视频| 亚洲国产精品av| 亚洲国产精品精华液ab| 国产欧美综合色| 国产亲近乱来精品视频| 国产日韩v精品一区二区| 久久综合久久鬼色中文字| 日韩欧美资源站| 精品欧美一区二区三区精品久久| 在线不卡免费av| 91麻豆精品国产综合久久久久久| 欧美性xxxxxxxx| 欧美日韩日日摸| 日韩一级高清毛片| 欧美精品一区二区在线观看| 久久―日本道色综合久久| 久久精品在线观看| 国产欧美精品一区二区色综合| 国产精品国产自产拍高清av王其| 自拍偷拍亚洲激情| 一区二区三区四区精品在线视频 | 亚洲高清免费观看| 日产欧产美韩系列久久99| 麻豆91在线观看| 国产一区二区精品在线观看| 成人一级片网址| 一道本成人在线| 欧美一区二区三区四区视频| 久久综合精品国产一区二区三区 | 亚洲二区在线视频| 老司机午夜精品| 成人深夜视频在线观看| 在线观看av一区二区| 日韩写真欧美这视频| 国产午夜亚洲精品理论片色戒| 亚洲色图另类专区| 麻豆国产欧美日韩综合精品二区| 国产mv日韩mv欧美| 欧美无砖专区一中文字| 久久综合资源网| 一区二区三区在线观看动漫| 久久精品国产999大香线蕉| 北条麻妃国产九九精品视频| 欧美日本国产一区| 国产欧美综合在线| 偷拍日韩校园综合在线| 成人黄色一级视频| 日韩一区二区三区高清免费看看| 中文字幕乱码日本亚洲一区二区| 亚洲电影一级片| 成a人片国产精品| 欧美大尺度电影在线| 一区二区三区欧美亚洲| 国产盗摄一区二区三区| 欧美日韩精品一区视频| 国产精品不卡一区二区三区| 美女一区二区久久|