1. Introduction to Computers, the Internet and the Web
2. Introduction to C Programming

1. Introduction to Computers, the Internet and the Web

2. Introduction to C Programming

2.2 A Simple C Program : Printing a Line of Text
#include<stdio.h>
int main(void)
printf();
// เป็น line comment /*…*/ multi-line comments

#include – Preprocessor Directive

Preporcessor Directive

w- Preprocessor directives
w – 预处理器指令
->  yù chǔlǐ  qì zhǐlìng = pre, processor , device + instruction = directive
(如 #define 和 #ifdef)通常用于简化源程序在不同的执行环境中的更改和编译。- Rú hé Tōngcháng yòng-yú jiǎnhuà  yuán chéngxù * bùtóng zhíxíng huánjìng gēnggǎi biānyì= such as , and , generally , use , simplified , source , program , different , exucate , enviroment , change , translate and edit

w -Spanish – Directivas de preprocesador
Las directivas de preprocesador, tales como #define y #ifdef, se usan normalmente para hacer que los programas de origen sean más fáciles de modificar y compilar en diferentes entornos de ejecución. – such as , oneself , use , * ,do , origin, be(ser) , more , easy , * , envirom , executation
Las directivas del archivo de código fuente indican al preprocesador que realice acciones específicas. – source , indicate , * , doing , specific
Por ejemplo, el preprocesador puede reemplazar tokens en el texto = example , * , able to , replacement ,

#ifdef

w –#ifdef and
#ifdef และ #ifndef มี effect เหมือนกับ #if กรณีที่มี defined operator
#ifdef มีค่าเท่ากับ #if defined และ #ifndef เท่ากับ #if !defined