The front cover of Jack Johnson's "in between dreams" album uses a yellow and black color scheme to reflect the sunny, upbeat acoustic pop music. It depicts a large tree and smaller silhouette of the artist with a guitar. The inside continues the yellow theme while introducing green. It features photos of the artist and production team to give insight into the recording process. Throughout, the design maintains a simple, natural theme consistent with Johnson's music and genre.
Presentations about Democracy of Thailand as summarized from WIn Lyowarin's book, Democracy Shaken & Stirred. This presentation is made by gathering almost every information from cited sources. No copyright restricted, you are free to use as long as you cite me. Also, you are not able to alter the contents directly, and republish the altered version in either your name(s), my name(s), or Win's name. I am not related to this book, Democracy Shaken & Stirred's author.
Jack Johnson is an American folk rock singer-songwriter known for his soft rock and acoustic music. In 2001, his debut album Brushfire Fairytales achieved commercial success. He has since released four more albums and several EPs and surfing movies/soundtracks. Johnson began writing songs in college and was influenced by artists like Bob Dylan and Neil Young. He donates 100% of his tour profits to charity through his Johnson Ohana Charitable Foundation.
The front cover of Jack Johnson's "in between dreams" album uses a yellow and black color scheme to reflect the sunny, upbeat acoustic pop music. It depicts a large tree and smaller silhouette of the artist with a guitar. The inside continues the yellow theme while introducing green. It features photos of the artist and production team to give insight into the recording process. Throughout, the design maintains a simple, natural theme consistent with Johnson's music and genre.
Presentations about Democracy of Thailand as summarized from WIn Lyowarin's book, Democracy Shaken & Stirred. This presentation is made by gathering almost every information from cited sources. No copyright restricted, you are free to use as long as you cite me. Also, you are not able to alter the contents directly, and republish the altered version in either your name(s), my name(s), or Win's name. I am not related to this book, Democracy Shaken & Stirred's author.
Jack Johnson is an American folk rock singer-songwriter known for his soft rock and acoustic music. In 2001, his debut album Brushfire Fairytales achieved commercial success. He has since released four more albums and several EPs and surfing movies/soundtracks. Johnson began writing songs in college and was influenced by artists like Bob Dylan and Neil Young. He donates 100% of his tour profits to charity through his Johnson Ohana Charitable Foundation.
1. = C programming By…iamch❀mmy =
บทที่ 5 Escape Character หน้า 1
2. = C programming By…iamch❀mmy =
บทที่ 5 Escape Character หน้า 2
เครื่องหมาย หรืออักขระ (Character) บางอย่าง เราไม่สามารถเขียนโค้ดเพื่อแสดงผลอย่าง
ตรงไปตรงมาได้ เช่น เครื่องหมายคาพูด " (Double quote) ทั้งนี้เพราะเครื่องหมาย " ในคาสั่ง
printf ใช้สาหรับบอกว่าข้อความ หรือสายอักขระ (String) เริ่มต้นและสิ้นสุดที่ใด ดังนั้นเมื่อเจอ
เครื่องหมาย " ในสายอักขระคอมพิวเตอร์จะแปลความว่าสิ้นสุดสายอักขระนั้น ๆ แล้ว แทนที่
จะแสดงผลเครื่องหมาย " ออกมา
นอกจากเครื่องหมาย " (Double quote) แล้วยังมีเครื่องหมาย ' (Singlequote) และ
(Backslash) อีกด้วยที่ไม่สามารถแสดงผลได้อย่างตรงไปตรงมา อักขระบางตัว เราไม่สามารถพิมพ์
จากแป้นพิมพ์ได้ เพราะตัวอักขระนั้นไม่มีอยู่ เช่น อักขระสาหรับขึ้นบรรทัดใหม่ (New line
character), อักขระแท็บ (Tab character) วิธีการนั้นง่าย ๆ แค่นาเครื่องหมาย ซึ่งเรียกว่า
อักขระหลีก (Escape character) ไปวางไว้หน้าตัวอักษรภาษาอังกฤษ เช่น n จากเดิม n ซึ่งเป็น
ตัวอักษรภาษาอังกฤษตัวหนึ่งเมื่อเติมเครื่องหมาย ไว้ข้างหน้าก็จะกลายเป็น อักขระขึ้นบรรทัดใหม่
(New line character) ทันที
การนาเครื่องหมาย ตามด้วยตัวอักษรภาษาอังกฤษตัวอื่น เราจะเรียกมันว่า รหัสควบคุม
ที่ควรรู้จักมีดังตารางต่อไปนี้
รหัสควบคุม การทางาน
a ส่งเสียงบี๊พ
n ขึ้นบรรทัดใหม่
r เลื่อนไปต้นบรรทัด
" แสดงเครื่องหมาย "
' แสดงเครื่องหมาย '
? แสดงเครื่องหมาย ?
แสดงเครื่องหมาย
บทที่ 5 Escape Character
3. = C programming By…iamch❀mmy =
บทที่ 5 Escape Character หน้า 3
โค้ด printf( "Mr. Man said "I like C programming"yesterday." );
ผลลัพธ์คือ
ตัวอย่าง การใช้รหัสควบคุม
รหัสควบคุมยังมีอีกหลายตัวนะจ๊ะ
แค่พิมพ์คาว่ารหัสควบคุมในภาษา C บน google ก็จะพบ
Mr. Man said "I like C programming" yesterday.
4. = C programming By…iamch❀mmy =
บทที่ 5 Escape Character หน้า 4
คาอธิบายโปรแกรม
บรรทัดที่ 5 printf("'n' is a New line character.");
ให้พิมพ์ข้อความออกทางจอภาพ โดยใช้รหัสควบคุม 3 ตัว ซ้อนกัน ได้แก่ ' n '
ตามลาดับ เพื่อให้เกิดข้อความ 'n'
++ จบบทที่ 5 ++
ที่ คาศัพท์ คาอ่าน ความหมายที่เกี่ยวข้องกับภาษาซี
1 character คาแรคเตอร์ อักขระ , ตัวอักษร
2 escape เอสเคป หลีกหนี , เลี่ยง
3 string สตริง กลุ่มของตัวอักษร ที่นามาเรียงกันอยู่
ภายในเครื่องหมายคาพูด
ไม่สามารถนามาคานวณได้
คาศัพท์ภาษาอังกฤษน่ารู้ประจาบทที่ 5
เพื่อน ๆ ลองนาโค้ดโปรแกรมในตัวอย่าง
ไปใช้ในโปรแกรม Dev-C++ ดูนะ
เมื่อเข้าใจแล้วก็เข้าไปทาแบบฝึกหัดเลย