<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-7577016360544992461</id><updated>2024-08-30T09:43:01.647-07:00</updated><category term="พื้นฐาน"/><title type='text'>C programming language</title><subtitle type='html'>เริ่มต้นเขียนโปรแกรมภาษาซี</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://c-thaigroup.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7577016360544992461/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://c-thaigroup.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Admin</name><uri>http://www.blogger.com/profile/06932457368166496936</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>4</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7577016360544992461.post-2128989829856131654</id><published>2013-07-08T01:45:00.000-07:00</published><updated>2013-07-08T01:45:45.691-07:00</updated><title type='text'>โครงสร้างของภาษาซี</title><content type='html'>ในโปรแกรมที่พัฒนาด้วยภาษา C ทุกโปรแกรมจะมีโครงสร้างการพัฒนาไม่แตกต่างกัน ซึ่งประกอบด้วย 6 ส่วนหลัก ๆ โดยที่แต่ละส่วนจะมีหน้าที่แตกต่างกัน&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;a href=&quot;http://kroobom2011.files.wordpress.com/2011/12/untitled-1.jpg&quot;&gt;&lt;img src=&quot;http://kroobom2011.files.wordpress.com/2011/12/untitled-1.jpg?w=450&amp;amp;h=410&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
1. ส่วนของเฮดเดอร์ไฟล์ (Header File or Processing Directive) ส่วนนี้จะมีจุดสังเกตที่สำคัญคือจะขึ้นต้นด้วยเครื่องหมาย # เสมอ การทำงานของคอมไพเลอร์จะทำงานในส่วนนี้เป็นส่วนแรก ในส่วนนี้เป็นส่วนที่เก็บไลบรารีมาตรฐานของภาษา C ซึ่งจะถูกดึงเข้ามารวมกับโปรแกรมในขณะแปลภาษาโปรแกรม (Compile) โดยใช้คำสั่ง&lt;br /&gt;
# include ซึ่งสามารถเขียนได้ 2 รูปแบบ คือ&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
รูปแบบที่ 1 : #include&amp;lt;HeaderName&amp;gt;&lt;br /&gt;
รูปแบบที่ 2 : #include “HeaderName”&lt;br /&gt;
&lt;br /&gt;
โดยที่ HeaderName เป็นชื่อของ header file&lt;br /&gt;
&lt;br /&gt;
ทั้งสองแบบนี้มีความแตกต่างกันคือ แบบ &amp;lt;…..&amp;gt; คอมไพเลอร์จะค้นหาเฮดเดอร์ไฟล์จากไลบรารีของภาษา C เพียงที่เดียวเท่านั้น ส่วนที่ใช้เครื่องหมาย “……” คอมไพเลอร์จะค้นหาเฮดเดอร์ไฟล์จากไลบรารีที่เก็บ Source Code ของเราก่อน ถ้าหากไม่เจอจะไปค้นหาที่ไลบรารีของภาษา C เฮดเดอร์ไฟล์จะมีนามสกุลเป็น .h เท่านั้น เฮดเดอร์ไฟล์ที่สำคัญที่ขาดไม่ได้คือ stdio.h&lt;br /&gt;
&lt;br /&gt;
2. ส่วนของตัวแปร Global เป็นส่วนประกาศตัวแปรที่สามารถใช้ได้ทั้งโปรแกรม ส่วนนี้จะมีหรือไม่มีก็ได้&lt;br /&gt;
&lt;br /&gt;
3. ส่วนของฟังก์ชัน (Function) เป็นส่วนการทำงานของโปรแกรม ในโครงสร้างภาษา C จะบังคับให้มีอย่างน้อย 1 ฟังก์ชันคือ ฟังก์ชัน main() ซึ่งเป็นฟังก์ชันเริ่มการทำงานของโปรแกรม (คอมไพเลอร์จะประมวลผลที่ฟังก์ชัน main() เป็นฟังก์ชันแรก) โดยในขอบเขตของฟังก์ชันจะเริ่มต้นด้วยเครื่องหมาย { และสิ้นสุดด้วยเครื่องหมาย }&lt;br /&gt;
&lt;br /&gt;
4. ส่วนของตัวแปร Local เป็นส่วนประกาศตัวแปรที่สามารถใช้ได้เฉพาะภายในฟังก์ชันของตนเองเท่านั้น ส่วนนี้จะมีหรือไม่มีก็ได้&lt;br /&gt;
&lt;br /&gt;
5. ส่วนของตัวโปรแกรม เป็นส่วนคำสั่งการทำงานของโปรแกรม โดยที่คำสั่งแต่ละคำสั่งจะต้องจบด้วยเครื่องหมาย ; เสมอ&lt;br /&gt;
&lt;br /&gt;
6. ส่วนของตัวส่งค่ากลับ เป็นส่วนของการส่งค่าข้อมูลกลับเมื่อฟังก์ชันจบการทำงาน โดยค่าที่ส่งกลับจะต้องเป็นค่าที่มีชนิดของข้อมูลตรงกับชนิดของข้อมูลที่ฟังก์ชันคืนค่ากลับ (Return Type) ในกรณีไม่ต้องการให้มีการส่งค่ากลับ สามารถกำหนดได้โดยใช้คีย์เวิร์ด void&lt;br /&gt;
&lt;br /&gt;
ตัวอย่าง&lt;br /&gt;
&lt;br /&gt;
#include&amp;lt;stdio.h&amp;gt;&lt;br /&gt;
&lt;br /&gt;
#include&amp;lt;conio.h&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Void main(void)&lt;br /&gt;
&lt;br /&gt;
{&lt;br /&gt;
&lt;br /&gt;
printf(“Welcome to C Programming”);&lt;br /&gt;
&lt;br /&gt;
getch();&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
อธิบายโปรแกรม&lt;br /&gt;
&lt;br /&gt;
#include&amp;lt;stdio.h&amp;gt;  // เป็นการเรียกใช้ส่วนของเฮดเดอร์ไฟล์ เกี่ยวกับการจัดการอินพุตและเอาต์พุต&lt;br /&gt;
&lt;br /&gt;
#include&amp;lt;conio.h&amp;gt; // เป็นการเรียกใช้ส่วนของเฮดเดอร์ไฟล์ เกี่ยวกับการจัดการเกี่ยวกับหน้าจอทั้งหมด&lt;br /&gt;
&lt;br /&gt;
Void main(void) //ส่วนของฟังก์ชัน main() โดยประกาศชนิดข้อมูลที่คืนค่ากลับเป็น void และค่าที่รับเข้ามาในฟังก์ชันเป็น void หมายถึง ฟังก์ชันนี้จะไม่มีการคืนค่าใดๆ กลับออกไป และไม่มีการรับค่าใด ๆ เข้ามาในฟังก์ชัน&lt;br /&gt;
&lt;br /&gt;
{ // ส่วนเริ่มต้นของฟังก์ชัน main()&lt;br /&gt;
&lt;br /&gt;
printf(“Welcome to C Programming”); //เป็นคำสั่งแสดงผลทางจอภาพ&lt;br /&gt;
&lt;br /&gt;
getch(); //เป็นคำสั่งรับอักขระจากแป้นพิมพ์ เพื่อกำหนดไม่ให้โปรแกรมปิดหน้าต่างผลลัพธ์ เมื่อโปรแกรมจบการทำงาน&lt;br /&gt;
&lt;br /&gt;
} // ส่วนสิ้นสุดของฟังก์ชัน main()&lt;br /&gt;
&lt;br /&gt;
ให้นักเรียนค้นหาข้อมูลในหัวข้อต่อไปนี้ แล้วเขียนลงในกระดาษขนาด A4&lt;br /&gt;
&lt;br /&gt;
กำหนดส่งในคาบเรียนครั้งถัดไป…. !!!&lt;br /&gt;
&lt;br /&gt;
- ตัวแปรและชนิดของข้อมูลในภาษา C&lt;br /&gt;
&lt;br /&gt;
- กฎการตั้งชื่อตัวแปรในภาษา C</content><link rel='replies' type='application/atom+xml' href='http://c-thaigroup.blogspot.com/feeds/2128989829856131654/comments/default' title='ส่งความคิดเห็น'/><link rel='replies' type='text/html' href='http://c-thaigroup.blogspot.com/2013/07/blog-post.html#comment-form' title='0 ความคิดเห็น'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7577016360544992461/posts/default/2128989829856131654'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7577016360544992461/posts/default/2128989829856131654'/><link rel='alternate' type='text/html' href='http://c-thaigroup.blogspot.com/2013/07/blog-post.html' title='โครงสร้างของภาษาซี'/><author><name>Admin</name><uri>http://www.blogger.com/profile/06932457368166496936</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7577016360544992461.post-421139689224555839</id><published>2011-10-16T11:54:00.000-07:00</published><updated>2011-10-16T11:54:55.077-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="พื้นฐาน"/><title type='text'>ขั้นตอนการชิ้นงาน</title><content type='html'>&lt;span class=&quot;style6&quot;&gt;&lt;strong&gt;ขั้นตอนที่ &lt;/strong&gt;&lt;strong&gt;1 เขียนโปรแกรม (source code) &lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div align=&quot;justify&quot; class=&quot;style6&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ใช้ editor 
เขียนโปรแกรมภาษาซีและทำการบันทึกไฟล์ต้นฉบับให้มีนามสกุลเป็น .C 
จากนั้นให้คอมไพล์โปรแกรมก็จะได้ไฟล์ออบเจ็กต์โค้ดที่มีนามสกุลเป็น .OBJ 
เมื่อทำการเชื่อมโยงไฟล์เข้ากับไลบรารีคำสั่งด้วย Link 
ก็จะได้ไฟล์ที่มีนามสกุลเป็น .EXE ที่พร้อมทำงานได้บนเครื่องคอมพิวเตอร์ &lt;/div&gt;
&lt;div align=&quot;justify&quot; class=&quot;style6&quot;&gt;
&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; editor &lt;/strong&gt;คือ
 โปรแกรมที่ใช้สำหรับการเขียนโปรแกรม โดยตัวอย่างของ editor 
ที่นิยมนำมาใช้ในการเขียนโปรแกรมได้แก่ Notepad, Edit ของ Dos ,Text Pad 
และ Edit Plus เป็นต้น 
ผู้เขียนโปรแกรมสามารถเลือกใช้โปรแกรมใดในการเรียนโปรแกรมก็ได้ 
แล้วแต่ความถนัดของแต่ละบุคคล &lt;/div&gt;
&lt;div class=&quot;style6&quot;&gt;
&lt;strong&gt;ขั้นตอนที่ 2 คอมไพล์โปรแกรม (compile) &lt;/strong&gt;&lt;/div&gt;
&lt;div class=&quot;style6&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; นำ source code จากขั้นตอนที่ 1 
มาทำการคอมไพล์ 
เพื่อแปลจากภาษาซีที่มนุษย์เข้าใจไปเป็นภาษาเครื่องที่คอมพิวเตอร์เข้าใจได้
 ในขั้นตอนนี้คอมไพเลอร์จะทำการตรวจสอบ source code 
ว่าเกิดข้อผิดพลาดหรือไม่ &lt;/div&gt;
&lt;div class=&quot;style6&quot;&gt;
•&amp;nbsp; หากเกิดข้อผิดพลาด จะแจ้งให้ผู้เขียนโปรแกรมทราบ ผู้เขียนโปรแกรมจะต้องกลับไปแก้ไขโปรแกรม และทำการคอมไพล์โปรแกรมใหม่อีกครั้ง &lt;/div&gt;
&lt;div class=&quot;style6&quot;&gt;
•&amp;nbsp; หากไม่พบข้อผิดพลาด คอมไพเลอร์จะแปลไฟล์ source
 code จากภาษาซีไปเป็นภาษาเครื่อง ( ไฟล์นามสกุล .obj) เช่นถ้าไฟล์ source 
code ชื่อ work.c ก็จะถูกแปลไปเป็นไฟล์ work.obj 
ซึ่งเก็บภาษาเครื่องไว้เป็นต้น &lt;/div&gt;
&lt;div class=&quot;style6&quot;&gt;
&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; compile &lt;/strong&gt;เป็นตัวแปล
ภาษารูปแบบหนึ่ง 
มีหน้าที่หลักคือการแปลภาษาโปรแกรมที่มนุษย์เขียนขึ้นไปเป็นภาษาเครื่อง 
โดยคอมไพเลอร์ของภาษาซี คือ C Compiler ซึ่งหลักการที่คอมไพเลอร์ใช้ 
เรียกว่า คอมไพล์ (compile) 
โดยจะทำการอ่านโปรแกรมภาษาซีทั้งหมดตั้งแต่ต้นจนจบ แล้วทำการ &lt;strong&gt;แปลผลทีเดียว &lt;/strong&gt;&lt;/div&gt;
&lt;span class=&quot;style6&quot;&gt;นอกจากคอมไพเลอร์แล้ว ยังมีตัวแปลภาษาอีกรูปแบบหนึ่งที่เรียกว่า &lt;strong&gt;อินเตอร์พรีเตอร์ &lt;/strong&gt;การอ่านและ &lt;strong&gt;แปลโปรแกรมทีละบรรทัด &lt;/strong&gt;เมื่อ
แปลผลบรรทัดหนึ่งเสร็จก็จะทำงานตามคำสั่งในบรรทัดนั้น 
แล้วจึงทำการแปลผลตามคำสั่งในบรรทัดถัดไป 
หลักการที่อินเตอร์พรีเตอร์ใช้เรียกว่า &lt;em&gt;อินเตอร์เพรต (interpret &lt;/em&gt;)&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;h4 class=&quot;style6&quot;&gt;

ข้อดีและข้อเสียของตัวแปลภาษาทั้งสองแบบมีดังนี้ &lt;/h4&gt;
&lt;table align=&quot;center&quot; border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;2&quot;&gt;
        &lt;tbody&gt;
&lt;tr&gt;
          &lt;td class=&quot;style6&quot; height=&quot;33&quot; valign=&quot;top&quot; width=&quot;127&quot;&gt;&amp;nbsp; &lt;/td&gt;
          &lt;td class=&quot;style6&quot; valign=&quot;top&quot; width=&quot;311&quot;&gt;&lt;div align=&quot;center&quot;&gt;
&lt;strong&gt;ข้อดี &lt;/strong&gt;&lt;/div&gt;
&lt;/td&gt;
          &lt;td class=&quot;style6&quot; valign=&quot;top&quot; width=&quot;193&quot;&gt;&lt;div align=&quot;center&quot;&gt;
&lt;strong&gt;ข้อเสีย &lt;/strong&gt;&lt;/div&gt;
&lt;/td&gt;
        &lt;/tr&gt;
&lt;tr&gt;
          &lt;td class=&quot;style6&quot; valign=&quot;top&quot; width=&quot;127&quot;&gt;คอมไพเลอร์ &lt;/td&gt;
          &lt;td class=&quot;style6&quot; valign=&quot;top&quot; width=&quot;311&quot;&gt;•&amp;nbsp; ทำงานได้เร็ว เนื่องจากทำการแปลผลทีเดียว แล้วจึงทำงานตามคำสั่งของโปรแกรมในภายหลัง &lt;br /&gt;
•&amp;nbsp; เมื่อทำการแปลผลแล้ว 
ในครั้งต่อไปไม่จำเป็นต้องทำการแปลผลใหม่อีก 
เนื่องจากภาษาเครื่องที่แปลได้จะถูกเก็บไว้ที่หน่วยความจำ 
สามารถเรียกใช้งานได้ทันที &lt;/td&gt;
          &lt;td class=&quot;style6&quot; valign=&quot;top&quot; width=&quot;193&quot;&gt;•&amp;nbsp; เมื่อเกิดข้อผิดพลาดขึ้นกับโปรแกรมจะตรวจสอบหาข้อผิดพลาดได้ยาก เพราะทำการแปลผลทีเดียวทั้งโปรแกรม &lt;/td&gt;
        &lt;/tr&gt;
&lt;tr&gt;
          &lt;td class=&quot;style6&quot; valign=&quot;top&quot; width=&quot;127&quot;&gt;อินเตอร์พรีเตอร์ &lt;/td&gt;
          &lt;td class=&quot;style6&quot; valign=&quot;top&quot; width=&quot;311&quot;&gt;•&amp;nbsp; หาข้อผิดพลาดของโปรแกรมได้ง่าย เนื่องจากทำการแปลผลทีละบรรทัด &lt;br /&gt;
•&amp;nbsp; เนื่องจากทำงานทีละบรรทัดดังนั้นจึงสั่งให้โปรแกรมทำงานตามคำสั่งเฉพาะจุดที่ต้องการได้ &lt;br /&gt;
•&amp;nbsp; ไม่เสียเวลารอการแปลโปรแกรมเป็นเวลานาน &lt;/td&gt;
          &lt;td class=&quot;style6&quot; valign=&quot;top&quot; width=&quot;193&quot;&gt;•&amp;nbsp; ช้า เนื่องจากที่ทำงานทีละบรรทัด &lt;/td&gt;
        &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;span class=&quot;style8&quot;&gt;&lt;span class=&quot;style9&quot;&gt;ขั้นตอนที่ 3 เชื่อมโยงโปรแกรม (link) &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;style6&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
การเขียนโปรแกรมภาษาซีนั้นผู้เขียนโปรแกรมไม่จำเป็นต้องเขียนคำสั่งต่าง ๆ 
ขึ้นใช้งานเอง 
เนื่องจากภาษาซีมีฟังก์ชั่นมาตรฐานให้ผู้เขียนโปรแกรมสามารถเรียกใช้งานได้ 
เช่น การเขียนโปรแกรมแสดงข้อความ “Lampangkanlayanee” ออกทางหน้าจอ 
ผู้เขียนโปรแกรมสามารถเรียกใช้ฟังก์ชั่น printf() 
ซึ่งเป็นฟังก์ชั่นมาตรฐานของภาษาซีมาใช้งานได้ โดยส่วนการประกาศ 
(declaration) ของฟังก์ชั่นมาตรฐานต่าง ๆ 
จะถูกจัดเก็บอยู่ในเฮดเดอร์ไฟล์แต่ละตัว แตกต่างกันไปตามลักษณะการใช้งาน &lt;/div&gt;
&lt;div class=&quot;style6&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
ด้วยเหตุนี้ภาษาเครื่องที่ได้จากขั้นตอนที่ 2 จึงยังไม่สามารถนำไปใช้งานได้
 แต่ต้องนำมาเชื่อมโยงเข้ากับ library ก่อน 
ซึ่งผลจากการเชื่อมโยงจะทำให้ได้ executable program ( ไฟล์นามสกุล .exe 
เช่น work.exe) ที่สามารถนำไปใช้งานได้ &lt;/div&gt;
&lt;div class=&quot;style6&quot;&gt;
&amp;nbsp; &lt;/div&gt;
&lt;div class=&quot;style6&quot;&gt;
&lt;strong&gt;ขั้นตอนที่ 4 ประมวลผล (run) &lt;/strong&gt;&lt;/div&gt;
&lt;div class=&quot;style6&quot;&gt;
เมื่อนำ executable program จากขั้นตอนที่ 3 มาประมวลผลก็จะได้ผลลัพธ์ (output) ของโปรแกรมออกมา ( ถ้ามี )&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;style6&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;style6&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;style6&quot;&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-thaigroup.blogspot.com/feeds/421139689224555839/comments/default' title='ส่งความคิดเห็น'/><link rel='replies' type='text/html' href='http://c-thaigroup.blogspot.com/2011/10/blog-post_7175.html#comment-form' title='0 ความคิดเห็น'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7577016360544992461/posts/default/421139689224555839'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7577016360544992461/posts/default/421139689224555839'/><link rel='alternate' type='text/html' href='http://c-thaigroup.blogspot.com/2011/10/blog-post_7175.html' title='ขั้นตอนการชิ้นงาน'/><author><name>Admin</name><uri>http://www.blogger.com/profile/06932457368166496936</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7577016360544992461.post-2838910149956536597</id><published>2011-10-16T10:01:00.001-07:00</published><updated>2011-10-16T10:01:37.332-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="พื้นฐาน"/><title type='text'>ความหมายของภาษาซี</title><content type='html'>ภาษาซี คือ ภาษาคอมพิวเตอร์ใช้สำหรับพัฒนาโปรแกรมทั่วไป
ถูกพัฒนาโดยเดนนิส ริสชี่ (Dennis Ritchie) เมื่อประมาณต้นปีค.ศ. 1970
เพื่อใช้งานบนระบบปฏิบัติการยูนิกส์ ต่อมาถูกนำไปใช้ในระบบปฏิบัติการต่าง ๆ 
จนถูกใช้เป็นภาษาพื้นฐานสำหรับภาษาอื่น เช่น ภาษาจาวา (Java) ภาษาพีเอชพี (PHP) ภาษาซีชาร์ป (C#) ภาษาซีพลัสพลัส (C++)
ภาษาเพิร์ล (Perl) ภาษาไพทอล (Python) หรือภาษารูบี้ (Ruby)</content><link rel='replies' type='application/atom+xml' href='http://c-thaigroup.blogspot.com/feeds/2838910149956536597/comments/default' title='ส่งความคิดเห็น'/><link rel='replies' type='text/html' href='http://c-thaigroup.blogspot.com/2011/10/blog-post_16.html#comment-form' title='0 ความคิดเห็น'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7577016360544992461/posts/default/2838910149956536597'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7577016360544992461/posts/default/2838910149956536597'/><link rel='alternate' type='text/html' href='http://c-thaigroup.blogspot.com/2011/10/blog-post_16.html' title='ความหมายของภาษาซี'/><author><name>Admin</name><uri>http://www.blogger.com/profile/06932457368166496936</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7577016360544992461.post-536362604258332079</id><published>2011-10-16T09:59:00.000-07:00</published><updated>2011-10-16T09:59:50.486-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="พื้นฐาน"/><title type='text'>ประวัติความเป็นมาของภาษาซี</title><content type='html'>ภาษาซีเป็นภาษาระดับสูง( High-Level-Language) 
และภาษาโปรแกรมที่โปรแกรมเมอร์นิยมใช้กันมาก 
เนื่องจากเป็นภาษาที่มีความเร็วในการทำงานสูงใกล้เคียงกับภาษาเครื่อง 
มีโครงสร้างที่ชัดเจน เข้าใจง่าย 
สามารถเขียนโปรแกรมเพื่อติดต่อกับฮาร์ดแวร์ของเครื่องคอมพิวเตอร์ได้อย่างดี
 ภาษาซีเกิดขึ้นในปี ค . ศ .1972 ผู้คิดค้นคือนายเดนนีส ริทชี (Dennis 
Ritchi) การศึกษาภาษาซีถือว่าเป็นพื้นฐานในการศึกษาภาษาใหม่ ๆ ได้</content><link rel='replies' type='application/atom+xml' href='http://c-thaigroup.blogspot.com/feeds/536362604258332079/comments/default' title='ส่งความคิดเห็น'/><link rel='replies' type='text/html' href='http://c-thaigroup.blogspot.com/2011/10/blog-post.html#comment-form' title='0 ความคิดเห็น'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7577016360544992461/posts/default/536362604258332079'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7577016360544992461/posts/default/536362604258332079'/><link rel='alternate' type='text/html' href='http://c-thaigroup.blogspot.com/2011/10/blog-post.html' title='ประวัติความเป็นมาของภาษาซี'/><author><name>Admin</name><uri>http://www.blogger.com/profile/06932457368166496936</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>