tag:blogger.com,1999:blog-39994618390539192182024-03-13T06:48:12.608-07:00การเขียนโปรแกรมAnonymoushttp://www.blogger.com/profile/00949780560640861735noreply@blogger.comBlogger6125tag:blogger.com,1999:blog-3999461839053919218.post-90578185419815295302013-01-14T02:12:00.002-08:002013-01-14T02:19:06.155-08:00Reserved word <div style="text-align: center;">
</div>
<h2 style="text-align: center;">
<span style="background-color: black;"><span style="background-color: white; color: black;">Reserved word (คำสงวน)</span></span></h2>
<span style="background-color: black;"><div style="text-align: left;">
<strong><span style="font-family: MS Sans Serif;"><span style="font-size: 10pt;"><span style="color: black;"><span style="background-color: white;">คำสงวน (Reserved Word)<br /> เป็นคำเฉพาะที่ภาษาปาสคาลได้สร้างหรือกำหนดขึ้นมา เพื่อใช้ในตัวภาษาโดยเฉพาะ</span></span></span></span><span style="font-family: MS Sans Serif;"><span style="font-size: 10pt;"><span style="color: black;"><span style="background-color: white;">ซึ่งผู้เขียนโปรแกรมไม่สามารถนำไปใช้เป็นชื่อ (Indentifiers) ได้เช่น ไม่สามาถนำไปใช้เป็นดตัวแปร (Variables) หรือชื่อโปรแกรมได้ เป็นต้น </span></span></span></span></strong></div>
<div style="text-align: left;">
<strong><span style="background-color: white; color: black; font-family: MS Sans Serif;"><span style="font-size: 10pt;"> ในภาษาปาสคาล ถ้าเป็นคำสงวน (Reserved Word) มักนิยมเขียนด้วยตัวอักษรตัวใหญ่ </span></span><span style="background-color: white; color: black; font-family: MS Sans Serif;"><span style="font-size: 10pt;"> เ</span></span></strong><span style="background-color: white; color: black; font-family: MS Sans Serif;"><span style="font-size: 10pt;"><strong>พื่อให้มีความแตกต่างจากชื่อ (Indentifiers) ตัวอื่น ๆ (แต่การเขียนด้วยตัวเล็กก็สามารถเขียนได้โดยไม่ถือว่าผิดกฏเกณฑ์</strong>)</span></span></div>
<h2 style="text-align: left;">
<span style="background-color: white; color: black; font-family: MS Sans Serif;"><span style="font-size: 10pt;">คำสงวนสำหรับภาษาซีมาตรฐาน (Standard C) มีทั้งหมด 32 คำ ดังนี้<br />auto <br />break <br />case <br />char <br />const <br />continue <br />default <br />do <br />double <br />else <br />enum <br />extern <br />float <br />for <br />goto <br />if <br />int <br />long <br />register <br />return <br />short <br />signed <br />sizeof <br />static <br />struct <br />switch <br />typedef <br />union <br />unsigned<br />void<br />volatile<br />while</span></span><span style="background-color: white; color: black; font-family: MS Sans Serif;"><span style="font-size: 10pt;"><br /> และอีก 32 คำที่เพิ่มมาสำหรับ C++ ได้แก่<br />asm <br />bool <br />catch <br />class <br />const_cast <br />delete <br />dynamic_cast <br />explicit <br />false <br />friend <br />inline <br />mutable <br />namespace <br />new <br />operator <br />private <br />protected <br />public <br />reinterpret_cast <br />static_cast <br />template <br />this <br />throw <br />true <br />try<br />typeid<br />typename<br />using<br />virtual<br />wchar_t</span></span></h2>
</span>Anonymoushttp://www.blogger.com/profile/00949780560640861735noreply@blogger.com0tag:blogger.com,1999:blog-3999461839053919218.post-64233196209347742802013-01-14T01:51:00.003-08:002013-01-14T02:00:13.761-08:00งานเขียนโปรแกรม<div style="text-align: center;">
รูปภาพงานเขียนโปรแกรม ชิ้นที่ 1<br />
</div>
<div class="separator" style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; clear: both; text-align: center;">
<a href="http://sphotos-h.ak.fbcdn.net/hphotos-ak-ash4/318044_510543388985604_1778546543_n.jpg" imageanchor="1" style="height: 319px; margin-left: 1em; margin-right: 1em; width: 546px;"><img alt="" aria-busy="true" aria-describedby="fbPhotosSnowliftCaption" border="0" class="spotlight" height="203" src="http://sphotos-h.ak.fbcdn.net/hphotos-ak-ash4/318044_510543388985604_1778546543_n.jpg" width="400" /></a></div>
Anonymoushttp://www.blogger.com/profile/00949780560640861735noreply@blogger.com0tag:blogger.com,1999:blog-3999461839053919218.post-64054066413176905532012-12-17T22:20:00.000-08:002013-01-14T02:01:21.164-08:00Flowchart<center>
<span style="font-size: x-large;">ผังงาน (Flowchart)</span> </center>
<center>
</center>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://www.thaiall.com/flowchart/_notred.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://www.thaiall.com/flowchart/_notred.gif" /></a></div>
ตัวอย่างผังงานระบบไฟแดง<br />
<center>
</center>
<table align="center"><tbody>
<tr><td valign="top"><b>ความหมายของผังงาน</b>
<dd>ผังงาน (Flowchart) คือ รูปภาพ (Image) หรือสัญลักษณ์(Symbol) ที่ใช้เขียนแทนขั้นตอน คำอธิบาย ข้อความ หรือคำพูด ที่ใช้ในอัลกอริทึม (Algorithm) เพราะการนำเสนอขั้นตอนของงานให้เข้าใจตรงกัน ระหว่างผู้เกี่ยวข้อง ด้วยคำพูด หรือข้อความทำได้ยากกว่า <br />
<b>ผังงานแบ่งได้ 2 ประเภท</b> <br />
1. ผังงานระบบ (System Flowchart) <br />
คือ ผังงานที่แสดงขั้นตอนการทำงานในระบบอย่างกว้าง ๆ แต่ไม่เจาะลงในระบบงานย่อย <br />
2. ผังงานโปรแกรม (Program Flowchart) <br />
คือ ผังงานที่แสดงถึงขั้นตอนในการทำงานของโปรแกรม ตั้งแต่รับข้อมูล คำนวณ จนถึงแสดงผลลัพธ์ <br />
<b>ประโยชน์ของผังงาน</b> <br />
1. ทำให้เข้าใจ และแยกแยะปัญหาได้ง่าย (Problem Define) <br />
2. แสดงลำดับการทำงาน (Step Flowing) <br />
3. หาข้อผิดพลาดได้ง่าย (Easy to Debug) <br />
4. ทำความเข้าใจโปรแกรมได้ง่าย (Easy to Read) <br />
5. ไม่ขึ้นกับภาษาใดภาษาหนึ่ง (Flexible Language) </dd><dd></dd><dd><strong> สัญลักษณ์ของผังงาน</strong></dd><img height="409" id="il_fi" src="http://nontri.csc.ku.ac.th/~b5240201137/a6.jpg" style="padding-bottom: 8px; padding-right: 8px; padding-top: 8px;" width="345" />
</td><td align="middle" valign="top" width="182"><br />
</td></tr>
</tbody></table>
<div align="center">
<b>การโปรแกรมแบบมีโครงสร้าง หรือ การโปรแกรมโครงสร้าง ประกอบด้วยอะไรบ้าง</b> </div>
<dd>ผมขอตอบอย่างสั้น ๆ ว่าทุกภาษาต้องมีหลักการ 3 อย่างนี้คือ การทำงานแบบตามลำดับ(Sequence) การเลือกกระทำตามเงื่อนไข(Decision) และ การทำซ้ำ(Loop) แม้ตำราหลาย ๆ เล่มจะบอกว่า decision แยกเป็น if กับ case หรือ loop นั้นยังแยกเป็น while และ until ซึ่งแตกต่างกัน แต่ผมก็ยังนับว่าการเขียนโปรแกรม แบบมีโครงสร้างนั้น มองให้ออกแค่ 3 อย่างก็พอแล้ว และหลายท่านอาจเถียงผมว่าบางภาษาไม่จำเป็นต้องใช้ Structure Programming แต่เท่าที่ผมศึกษามา ยังไม่มีภาษาใด เลิกใช้หลักการทั้ง 3 นี้อย่างสิ้นเชิง เช่น MS Access ที่หลายคนบอกว่าง่าย ซึ่งก็อาจจะง่ายจริง ถ้าจะศึกษาเพื่อสั่งให้ทำงานตาม wizard หรือตามที่เขาออกแบบมาให้ใช้ แต่ถ้าจะนำมาใช้งานจริง ตามความต้องการของผู้ใช้แล้ว ต้องใช้ประสบการณ์ในการเขียน Structure Programming เพื่อสร้าง Module สำหรับควบคุม Object ทั้งหมดให้ทำงานประสานกัน </dd><dd><br />
<table align="center"><tbody>
<tr><td valign="top" width="30%"><b>1. การทำงานแบบตามลำดับ(Sequence)</b> : รูปแบบการเขียนโปรแกรมที่ง่ายที่สุดคือ เขียนให้ทำงานจากบนลงล่าง เขียนคำสั่งเป็นบรรทัด และทำทีละบรรทัดจากบรรทัดบนสุดลงไปจนถึงบรรทัดล่างสุด สมมติให้มีการทำงาน 3 กระบวนการคือ อ่านข้อมูล คำนวณ และพิมพ์ <br />
<img src="http://www.thaiall.com/flowchart/_struc1.gif" /> </td><td bgcolor="#dddddd" width="2"></td><td valign="top" width="30%"><b>2. การเลือกกระทำตามเงื่อนไข(Decision or Selection)</b> : การตัดสินใจ หรือเลือกเงื่อนไขคือ เขียนโปรแกรมเพื่อนำค่าไปเลือกกระทำ โดยปกติจะมีเหตุการณ์ให้ทำ 2 กระบวนการ คือเงื่อนไขเป็นจริงจะกระทำกระบวนการหนึ่ง และเป็นเท็จจะกระทำอีกกระบวนการหนึ่ง แต่ถ้าซับซ้อนมากขึ้น จะต้องใช้เงื่อนไขหลายชั้น เช่นการตัดเกรดนักศึกษา เป็นต้น ตัวอย่างผังงานนี้ จะแสดงผลการเลือกอย่างง่าย เพื่อกระทำกระบวนการเพียงกระบวนการเดียว <br />
<img src="http://www.thaiall.com/flowchart/_struc2.gif" /> </td><td bgcolor="#dddddd" width="2"></td><td valign="top" width="30%"><b>3. การทำซ้ำ(Repeation or Loop)</b><span style="font-size: x-small;"><span style="font-size: small;"> : การทำกระบวนการหนึ่งหลายครั้ง โดยมีเงื่อนไขในการควบคุม หมายถึงการทำซ้ำเป็นหลักการที่ทำความเข้าใจได้ยากกว่า 2 รูปแบบแรก เพราะการเขียนโปรแกรมแต่ละภาษา จะไม่แสดงภาพอย่างชัดเจนเหมือนการเขียนผังงาน ผู้เขียนโปรแกรมต้องจินตนาการด้วยตนเอง</span> <img height="200" src="http://www.thaiall.com/flowchart/_struc3.gif" width="150" /> </span></td></tr>
</tbody></table>
</dd><br />
<div align="center">
</div>
Anonymoushttp://www.blogger.com/profile/00949780560640861735noreply@blogger.com0tag:blogger.com,1999:blog-3999461839053919218.post-64920820070131118472012-12-13T05:55:00.001-08:002012-12-13T05:55:37.696-08:00Algorithm <h2 align="center" class="post-title entry-title" itemprop="name">
<span style="color: red;">Algorithm </span></h2>
<div class="MsoNormal" style="margin: 0cm 0cm 10pt;">
<span lang="TH" style="color: red; font-family: 'Angsana New','serif'; font-size: 24pt; line-height: 115%; mso-ascii-theme-font: major-bidi; mso-bidi-theme-font: major-bidi; mso-hansi-theme-font: major-bidi;">การทอดไข่<span style="mso-spacerun: yes;"> </span><o:p></o:p></span></div>
<div class="MsoNormal" style="margin: 0cm 0cm 10pt;">
<span lang="TH" style="font-family: 'Angsana New','serif'; font-size: 16pt; line-height: 115%; mso-ascii-theme-font: major-bidi; mso-bidi-theme-font: major-bidi; mso-hansi-theme-font: major-bidi;">อุปกรณ์ที่ใช้<o:p></o:p></span></div>
<div class="MsoNormal" style="margin: 0cm 0cm 10pt;">
<span lang="TH" style="font-family: 'Angsana New','serif'; font-size: 16pt; line-height: 115%; mso-ascii-theme-font: major-bidi; mso-bidi-theme-font: major-bidi; mso-hansi-theme-font: major-bidi;">1. กระทะ</span><span style="font-family: 'Angsana New','serif'; font-size: 16pt; line-height: 115%; mso-ascii-theme-font: major-bidi; mso-bidi-theme-font: major-bidi; mso-hansi-theme-font: major-bidi;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin: 0cm 0cm 10pt;">
<span style="font-family: 'Angsana New','serif'; font-size: 16pt; line-height: 115%; mso-ascii-theme-font: major-bidi; mso-bidi-theme-font: major-bidi; mso-hansi-theme-font: major-bidi;">2. <span lang="TH">น้ำมัน</span><o:p></o:p></span></div>
<div class="MsoNormal" style="margin: 0cm 0cm 10pt;">
<span lang="TH" style="font-family: 'Angsana New','serif'; font-size: 16pt; line-height: 115%; mso-ascii-theme-font: major-bidi; mso-bidi-theme-font: major-bidi; mso-hansi-theme-font: major-bidi;">3. ไข่</span><span style="font-family: 'Angsana New','serif'; font-size: 16pt; line-height: 115%; mso-ascii-theme-font: major-bidi; mso-bidi-theme-font: major-bidi; mso-hansi-theme-font: major-bidi;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin: 0cm 0cm 10pt;">
<span style="font-family: 'Angsana New','serif'; font-size: 16pt; line-height: 115%; mso-ascii-theme-font: major-bidi; mso-bidi-theme-font: major-bidi; mso-hansi-theme-font: major-bidi;">4.<span lang="TH"> ตะหลิว</span><o:p></o:p></span></div>
<div class="MsoNormal" style="margin: 0cm 0cm 10pt;">
<span lang="TH" style="font-family: 'Angsana New','serif'; font-size: 16pt; line-height: 115%; mso-ascii-theme-font: major-bidi; mso-bidi-theme-font: major-bidi; mso-hansi-theme-font: major-bidi;">5. ถ้วย</span><span style="font-family: 'Angsana New','serif'; font-size: 16pt; line-height: 115%; mso-ascii-theme-font: major-bidi; mso-bidi-theme-font: major-bidi; mso-hansi-theme-font: major-bidi;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin: 0cm 0cm 10pt;">
<span lang="TH" style="font-family: 'Angsana New','serif'; font-size: 16pt; line-height: 115%; mso-ascii-theme-font: major-bidi; mso-bidi-theme-font: major-bidi; mso-hansi-theme-font: major-bidi;">6.เตาแก๊ส</span><span style="font-family: 'Angsana New','serif'; font-size: 16pt; line-height: 115%; mso-ascii-theme-font: major-bidi; mso-bidi-theme-font: major-bidi; mso-hansi-theme-font: major-bidi;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin: 0cm 0cm 10pt;">
<span lang="TH" style="font-family: 'Angsana New','serif'; font-size: 16pt; line-height: 115%; mso-ascii-theme-font: major-bidi; mso-bidi-theme-font: major-bidi; mso-hansi-theme-font: major-bidi;">7.จาน<o:p></o:p></span></div>
<div class="MsoNormal" style="margin: 0cm 0cm 10pt;">
<span lang="TH" style="font-family: 'Angsana New','serif'; font-size: 16pt; line-height: 115%; mso-ascii-theme-font: major-bidi; mso-bidi-theme-font: major-bidi; mso-hansi-theme-font: major-bidi;">วิธีทอด</span><span style="font-family: 'Angsana New','serif'; font-size: 16pt; line-height: 115%; mso-ascii-theme-font: major-bidi; mso-bidi-theme-font: major-bidi; mso-hansi-theme-font: major-bidi;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin: 0cm 0cm 10pt;">
<span lang="TH" style="font-family: 'Angsana New','serif'; font-size: 16pt; line-height: 115%; mso-ascii-theme-font: major-bidi; mso-bidi-theme-font: major-bidi; mso-hansi-theme-font: major-bidi;">1.เปิดเตาแก๊ส</span><span style="font-family: 'Angsana New','serif'; font-size: 16pt; line-height: 115%; mso-ascii-theme-font: major-bidi; mso-bidi-theme-font: major-bidi; mso-hansi-theme-font: major-bidi;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin: 0cm 0cm 10pt;">
<span lang="TH" style="font-family: 'Angsana New','serif'; font-size: 16pt; line-height: 115%; mso-ascii-theme-font: major-bidi; mso-bidi-theme-font: major-bidi; mso-hansi-theme-font: major-bidi;">2.วางกระทะ </span><span style="font-family: 'Angsana New','serif'; font-size: 16pt; line-height: 115%; mso-ascii-theme-font: major-bidi; mso-bidi-theme-font: major-bidi; mso-hansi-theme-font: major-bidi;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin: 0cm 0cm 10pt;">
<span lang="TH" style="font-family: 'Angsana New','serif'; font-size: 16pt; line-height: 115%; mso-ascii-theme-font: major-bidi; mso-bidi-theme-font: major-bidi; mso-hansi-theme-font: major-bidi;">3.ใส่น้ำมันลงในกระทะ</span><span style="font-family: 'Angsana New','serif'; font-size: 16pt; line-height: 115%; mso-ascii-theme-font: major-bidi; mso-bidi-theme-font: major-bidi; mso-hansi-theme-font: major-bidi;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin: 0cm 0cm 10pt;">
<span lang="TH" style="font-family: 'Angsana New','serif'; font-size: 16pt; line-height: 115%; mso-ascii-theme-font: major-bidi; mso-bidi-theme-font: major-bidi; mso-hansi-theme-font: major-bidi;">3.รอให้น้ำมันเดือด</span><span style="font-family: 'Angsana New','serif'; font-size: 16pt; line-height: 115%; mso-ascii-theme-font: major-bidi; mso-bidi-theme-font: major-bidi; mso-hansi-theme-font: major-bidi;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin: 0cm 0cm 10pt;">
<span lang="TH" style="font-family: 'Angsana New','serif'; font-size: 16pt; line-height: 115%; mso-ascii-theme-font: major-bidi; mso-bidi-theme-font: major-bidi; mso-hansi-theme-font: major-bidi;">4.ตอกไข่</span><span style="font-family: 'Angsana New','serif'; font-size: 16pt; line-height: 115%; mso-ascii-theme-font: major-bidi; mso-bidi-theme-font: major-bidi; mso-hansi-theme-font: major-bidi;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin: 0cm 0cm 10pt;">
<span lang="TH" style="font-family: 'Angsana New','serif'; font-size: 16pt; line-height: 115%; mso-ascii-theme-font: major-bidi; mso-bidi-theme-font: major-bidi; mso-hansi-theme-font: major-bidi;">5.ไข่ใส่ลงไปในถ้วย</span><span style="font-family: 'Angsana New','serif'; font-size: 16pt; line-height: 115%; mso-ascii-theme-font: major-bidi; mso-bidi-theme-font: major-bidi; mso-hansi-theme-font: major-bidi;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin: 0cm 0cm 10pt;">
<span lang="TH" style="font-family: 'Angsana New','serif'; font-size: 16pt; line-height: 115%; mso-ascii-theme-font: major-bidi; mso-bidi-theme-font: major-bidi; mso-hansi-theme-font: major-bidi;">6.ตีไข่<o:p></o:p></span></div>
<div class="MsoNormal" style="margin: 0cm 0cm 10pt;">
<span lang="TH" style="font-family: 'Angsana New','serif'; font-size: 16pt; line-height: 115%; mso-ascii-theme-font: major-bidi; mso-bidi-theme-font: major-bidi; mso-hansi-theme-font: major-bidi;">7..ใส่ไข่ลงในกระทะ </span><span style="font-family: 'Angsana New','serif'; font-size: 16pt; line-height: 115%; mso-ascii-theme-font: major-bidi; mso-bidi-theme-font: major-bidi; mso-hansi-theme-font: major-bidi;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin: 0cm 0cm 10pt;">
<span lang="TH" style="font-family: 'Angsana New','serif'; font-size: 16pt; line-height: 115%; mso-ascii-theme-font: major-bidi; mso-bidi-theme-font: major-bidi; mso-hansi-theme-font: major-bidi;">8.ใช้ตะหลิวกลับไข่ให้สุก</span><span style="font-family: 'Angsana New','serif'; font-size: 16pt; line-height: 115%; mso-ascii-theme-font: major-bidi; mso-bidi-theme-font: major-bidi; mso-hansi-theme-font: major-bidi;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin: 0cm 0cm 10pt;">
<span lang="TH" style="font-family: 'Angsana New','serif'; font-size: 16pt; line-height: 115%; mso-ascii-theme-font: major-bidi; mso-bidi-theme-font: major-bidi; mso-hansi-theme-font: major-bidi;">9.นำไข่ใส่จาน<o:p></o:p></span></div>
<div class="MsoNormal" style="margin: 0cm 0cm 10pt;">
<span lang="TH" style="color: #0070c0; font-family: 'Angsana New','serif'; font-size: 24pt; line-height: 115%; mso-ascii-theme-font: major-bidi; mso-bidi-theme-font: major-bidi; mso-hansi-theme-font: major-bidi;">การซักผ้าให้สะอาด</span><span style="color: #0070c0; font-family: 'Angsana New','serif'; font-size: 24pt; line-height: 115%; mso-ascii-theme-font: major-bidi; mso-bidi-theme-font: major-bidi; mso-hansi-theme-font: major-bidi;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin: 0cm 0cm 10pt;">
<span lang="TH" style="font-family: 'Angsana New','serif'; font-size: 16pt; line-height: 115%; mso-ascii-theme-font: major-bidi; mso-bidi-theme-font: major-bidi; mso-hansi-theme-font: major-bidi;">อุปกรณ์ที่ใช้</span><span style="font-family: 'Angsana New','serif'; font-size: 16pt; line-height: 115%; mso-ascii-theme-font: major-bidi; mso-bidi-theme-font: major-bidi; mso-hansi-theme-font: major-bidi;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin: 0cm 0cm 10pt;">
<span style="font-family: 'Angsana New','serif'; font-size: 16pt; line-height: 115%; mso-ascii-theme-font: major-bidi; mso-bidi-theme-font: major-bidi; mso-hansi-theme-font: major-bidi;">1.<span lang="TH">ผงซักฟอก</span><o:p></o:p></span></div>
<div class="MsoNormal" style="margin: 0cm 0cm 10pt;">
<span lang="TH" style="font-family: 'Angsana New','serif'; font-size: 16pt; line-height: 115%; mso-ascii-theme-font: major-bidi; mso-bidi-theme-font: major-bidi; mso-hansi-theme-font: major-bidi;">2.ผ้าที่ไม่สะอาด</span><span style="font-family: 'Angsana New','serif'; font-size: 16pt; line-height: 115%; mso-ascii-theme-font: major-bidi; mso-bidi-theme-font: major-bidi; mso-hansi-theme-font: major-bidi;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin: 0cm 0cm 10pt;">
<span lang="TH" style="font-family: 'Angsana New','serif'; font-size: 16pt; line-height: 115%; mso-ascii-theme-font: major-bidi; mso-bidi-theme-font: major-bidi; mso-hansi-theme-font: major-bidi;">3.เครื่องซักผ้า</span><span style="font-family: 'Angsana New','serif'; font-size: 16pt; line-height: 115%; mso-ascii-theme-font: major-bidi; mso-bidi-theme-font: major-bidi; mso-hansi-theme-font: major-bidi;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin: 0cm 0cm 10pt;">
<span lang="TH" style="font-family: 'Angsana New','serif'; font-size: 16pt; line-height: 115%; mso-ascii-theme-font: major-bidi; mso-bidi-theme-font: major-bidi; mso-hansi-theme-font: major-bidi;">วิธีซัก</span><span style="font-family: 'Angsana New','serif'; font-size: 16pt; line-height: 115%; mso-ascii-theme-font: major-bidi; mso-bidi-theme-font: major-bidi; mso-hansi-theme-font: major-bidi;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin: 0cm 0cm 10pt;">
<span lang="TH" style="font-family: 'Angsana New','serif'; font-size: 16pt; line-height: 115%; mso-ascii-theme-font: major-bidi; mso-bidi-theme-font: major-bidi; mso-hansi-theme-font: major-bidi;">1.เตรียมผ้า</span><span style="font-family: 'Angsana New','serif'; font-size: 16pt; line-height: 115%; mso-ascii-theme-font: major-bidi; mso-bidi-theme-font: major-bidi; mso-hansi-theme-font: major-bidi;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin: 0cm 0cm 10pt;">
<span lang="TH" style="font-family: 'Angsana New','serif'; font-size: 16pt; line-height: 115%; mso-ascii-theme-font: major-bidi; mso-bidi-theme-font: major-bidi; mso-hansi-theme-font: major-bidi;">2.ใส่ผ้าลงไปในเครื่องซักผ้า</span><span style="font-family: 'Angsana New','serif'; font-size: 16pt; line-height: 115%; mso-ascii-theme-font: major-bidi; mso-bidi-theme-font: major-bidi; mso-hansi-theme-font: major-bidi;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin: 0cm 0cm 10pt;">
<span lang="TH" style="font-family: 'Angsana New','serif'; font-size: 16pt; line-height: 115%; mso-ascii-theme-font: major-bidi; mso-bidi-theme-font: major-bidi; mso-hansi-theme-font: major-bidi;">3.ใส่ผงซักฟอกลงไปในเครื่องซักผ้า</span><span style="font-family: 'Angsana New','serif'; font-size: 16pt; line-height: 115%; mso-ascii-theme-font: major-bidi; mso-bidi-theme-font: major-bidi; mso-hansi-theme-font: major-bidi;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin: 0cm 0cm 10pt;">
<span lang="TH" style="font-family: 'Angsana New','serif'; font-size: 16pt; line-height: 115%; mso-ascii-theme-font: major-bidi; mso-bidi-theme-font: major-bidi; mso-hansi-theme-font: major-bidi;">4.เปิดเครื่องซักผ้า</span><span style="font-family: 'Angsana New','serif'; font-size: 16pt; line-height: 115%; mso-ascii-theme-font: major-bidi; mso-bidi-theme-font: major-bidi; mso-hansi-theme-font: major-bidi;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin: 0cm 0cm 10pt;">
<span style="font-family: 'Angsana New','serif'; font-size: 16pt; line-height: 115%; mso-ascii-theme-font: major-bidi; mso-bidi-theme-font: major-bidi; mso-hansi-theme-font: major-bidi;">5.<span lang="TH">นำผ้าที่ซักเสร็จขึ้นจากเครื่อง</span><o:p></o:p></span></div>
<div class="MsoNormal" style="margin: 0cm 0cm 10pt;">
<span lang="TH" style="font-family: 'Angsana New','serif'; font-size: 16pt; line-height: 115%; mso-ascii-theme-font: major-bidi; mso-bidi-theme-font: major-bidi; mso-hansi-theme-font: major-bidi;">6.แล้วไปตากที่ที่มีแสงแดด<o:p></o:p></span></div>
<div class="MsoNormal" style="margin: 0cm 0cm 10pt;">
<span lang="TH" style="font-family: 'Angsana New','serif'; font-size: 16pt; line-height: 115%; mso-ascii-theme-font: major-bidi; mso-bidi-theme-font: major-bidi; mso-hansi-theme-font: major-bidi;">7.เก็บผ้า<o:p></o:p></span></div>
<div align="center" class="post-title entry-title" itemprop="name">
<br /></div>
Anonymoushttp://www.blogger.com/profile/00949780560640861735noreply@blogger.com0tag:blogger.com,1999:blog-3999461839053919218.post-31554262245572852122012-12-13T05:52:00.002-08:002012-12-13T05:52:18.976-08:00ประวัติภาษาซี<h2 align="center">
<span style="color: magenta;">ประวัติภาษาซี</span></h2>
<div align="center">
<br /></div>
<div align="center">
<span style="color: blue;">ภาษาซีเกิดขึ้นในปี ค.ศ.1972 โดย Dennis Ritchie แห่ง Bell Labs โดยภาษาซีนั้นพัฒนามาจาก ภาษา B และจากภาษา BCPL<br /> ซึ่งในช่วงแรกนั้นภาษาซีถูกออกแบบให้ใช้เป็นภาษาการเขียนโปรแกรมในระบบ UNIX และเริ่มมีคนสนใจมากขึ้นในปี ค.ศ.1978 เมื่อ <strong>Brain Kernighan</strong> ร่วมกับ <strong>Dennis Ritchie</strong> พัฒนามาตรฐานของภาษาซีขึ้นมา คือ <strong>K&R (Kernighan & Ritchie)</strong> และทั้งสองยังได้แต่งหนังสือชื่อว่า "<strong>The C Programming Language</strong>" โดยภาษาซีนั้นสามารถจะปรับใช้กับเครื่องคอมพิวเตอร์รูปแบบต่างๆได้<br /><br /> ต่อ มาในช่วง ปี ค.ศ.1988 Ritchie และ Kernighan ได้ร่วมกับ <strong>ANSI (American National Standards Institute)</strong> สร้างเป็นมาตรฐานของภาษาซีขึ้นมาใหม่มีชื่อว่า "<strong>ANSI C</strong>"<br /></span></div>
<div align="center">
<span style="color: blue;"><img alt="ประวัติ ความเป็นมา ภาษา C-http://sorncomputer.com//picture/learning/programer/c/start/dennis-ritchie.gif" class="bbc_img" src="http://sorncomputer.com//picture/learning/programer/c/start/dennis-ritchie.gif" /></span></div>
<div align="center">
<strong><span style="color: blue;">Dennis Ritchie</span></strong></div>
<div align="center">
<br /><span style="color: blue;"> ภาษา ซีนั้นจัดเป็นภาษาที่ใช้ในการเขียน โปรแกรมที่นิยมใช้งาน ซึ่งภาษาซีจัดเป็นภาษาระดับกลาง (Middle-Level Language) เหมาะกับการเขียนโปรแกรมแบบโครงสร้าง <strong>(Structured Programming)</strong> โดยมีคุณสมบัติโดดเด่นอย่างหนึ่งคือ มีความยืดหยุ่นมาก กล่าวคือ สามารถทำงาน กับเครื่องมือต่างๆ สามารถปรับเปลี่ยนการเขียนโปรแกรมในรูปแบบต่างๆได้ เช่น สามารถเขียนโปรแกรมที่มีความยาวหลายบรรทัดให้เหลือความยาว 2-3 บรรทัดได้ โดยมีการผลการทำงานที่เหมือนเดิมครับ<br /></span></div>
Anonymoushttp://www.blogger.com/profile/00949780560640861735noreply@blogger.com0tag:blogger.com,1999:blog-3999461839053919218.post-78321725552407187452012-12-10T22:20:00.000-08:002012-12-10T22:27:36.147-08:00ประวัติส่วนตัว<h2 align="center">
</h2>
<div align="center">
</div>
<div align="center">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/-Ls0VJQnS4bM/UMbQMLRnnQI/AAAAAAAAAAs/VIy2-Gz3gjI/s1600/DSC_0245.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="http://4.bp.blogspot.com/-Ls0VJQnS4bM/UMbQMLRnnQI/AAAAAAAAAAs/VIy2-Gz3gjI/s320/DSC_0245.JPG" width="240" /></a></div>
<div align="center">
</div>
<div style="text-align: center;">
<span style="color: red;"></span><span style="color: blue;"> </span></div>
<div style="text-align: center;">
<span style="color: blue;"> ชื่อ นาย ศุภณัฐ ไทยประสิทธิ์ </span></div>
<div style="text-align: center;">
<span style="color: blue;"> </span></div>
<div style="text-align: center;">
<span style="color: blue;"> ม.5/3 เลขที่ 12</span></div>
<div style="text-align: center;">
<span style="color: blue;"> </span></div>
<div style="text-align: center;">
<span style="color: blue;">เกิดวันที่ 9 พฤษภาคม 2539</span></div>
<div style="text-align: center;">
<span style="color: blue;"> </span></div>
<div style="text-align: center;">
<span style="color: blue;">อาหารที่ชอบ ข้าวมันไก่ทอด</span></div>
<div style="text-align: center;">
<span style="color: blue;"> </span></div>
<div style="text-align: center;">
<span style="color: blue;">สีที่ชอบ สีฟ้า </span></div>
<div style="text-align: center;">
<span style="color: blue;"> </span></div>
<div style="text-align: center;">
<span style="color: blue;">วิชาที่ชอบ คณิตศาตร์ </span></div>
<div style="text-align: center;">
<span style="color: blue;"> </span></div>
<div style="text-align: center;">
<span style="color: blue;">อนาคตอยากเป็น ครูสอนคณิตศาตร์</span></div>
<div style="text-align: center;">
<span style="color: blue;"> </span></div>
<div style="text-align: left;">
<span style="color: blue;"> </span></div>
<div align="left">
</div>
Anonymoushttp://www.blogger.com/profile/00949780560640861735noreply@blogger.com0