Suppose you're editing a text file with a text editor. Because you're using a text editor, you're pretty much editing an ASCII file. In this brand new file, you type in "cat". That is, the letters 'c', then 'a', then 't'. Then, you save the file and quit.
What happens? For the time being, we won't worry about the mechanism of what it means to open a file, modify it, and close it. Instead, we're concerned with the ASCII encoding.
If you look up an ASCII table, you will discover the ASCII code for 0x63, 0x61, 0x74 (the 0x merely indicates the values are in hexadecimal, instead of decimal/base 10).
Here's how it looks:
สมมติว่าคุณกำลังแก้ไขไฟล์ข้อความด้วยโปรแกรมแก้ไขข้อความ เพราะคุณใช้โปรแกรมแก้ไขข้อความที่คุณกำลังตัดต่อสวยมาก ASCII แฟ้ม ในแบรนด์นี้แฟ้มใหม่คุณพิมพ์ใน " แมว " นั่นคือ ตัวอักษร " C " , " " แล้ว " " งั้น คุณเซฟไฟล์และออกจากเกิดอะไรขึ้น ? สำหรับตอนนี้ เราจะไม่กังวลเกี่ยวกับกลไกของสิ่งที่มันหมายถึงการเปิดแฟ้ม , แก้ไข และปิดมัน แทน , เรากำลังกังวลกับ ASCII ของตัวอักษรถ้าคุณมองขึ้นตาราง ASCII , คุณจะพบรหัส ASCII สำหรับ 0x63 0x61 ( 0 , , 0x74 เพียงระบุค่าเป็นเลขฐานสิบหกทศนิยมแทนเบส / 10 )นี่เป็นวิธีที่ดูเหมือนว่า :
การแปล กรุณารอสักครู่..
