12. นิยมใช้เขียนโปรแกรมงานพัฒนาซอฟต์แวร์ระบบ ตัวอย่าง
รูปแบบโครงสร้างของภาษาแอสเซมบลี เช่น
Assembly Language
Title Hello world Program ( hello.asm )
; This Program gisplays “Hello,World”
Dosseg
.model small
.stack 100h
.data
Hello_message bd “Hello;0dh,0ah,$
.code
Main proc
Mov ax,@data
Mov ds,ax
Mov ah,9
Mov dx,offset hello_message
Int 21h
Mov ax,4c00h
Int 21h
Main endp
End main
٢. ภาษาโคบอล ( Cobol :common business oriented
Language )
14. ภาษาฟอร์แทรน ( FORTRAN: FORMULA TRANSLATOR
)
เหมาะสำาหรับวานด้านวิทยาศาสตร์ วิศวกรรมศาสตร์ เละ
คณิตศาสตร์ ที่มีการคำานวณที่ยุ่งยากซับซ้อน แต่ไม่
เหมาะกับงานทางด้านธุรกิจ ตัวอย่างรูปแบบโครงสร้าง
ของภาษาฟอร์แทรน เช่น
FORTRAN
C
C Hello, world
C
Program hello
Implicit none
Logical Done
DO while ( .NOT . DONE )
END DO
10 format ( “Hello, world, )
END
٤. ภาษาซีพลัสพลัส ( C++ ) เป็นภาษาที่ทำาให้
คอมพิวเตอร์สามารถทำางานได้อย่างรวดเร็ว มีความ
ยืดหยุ่นของโครงสร้างทางไวยากรณ์ที่เข้าใจง่าย นิยมนำา
มาเขียนโปรแกรมประยุกต์ ตัวอย่างรูปแบบโครงสร้างของ
ภาษาซีพลัสพลัส เช่น
15. C++
We have two entries for this language. One originates from the early days of
the
Hello World Project ; the other is rather newer . this is the original code:
# include <iosteam.h>
Main ()
{
For( ;; )
{
Cout <<Hello World ;
}}
5.ภาษาจาวา ( JAVA ) เป็นภาษาที่มีโครงสร้าง
คล้ายภาษาซีพลัสพลัสสามารถทำางานบนระบบปฏิบัติการ
ที่แตกต่างกันได้ นิยมนำามาพัฒนาโปรแกรมประยุกต์
ทั่วไป ตัวอย่างรูปแบบโครงสร้างของภาษาจาวา เช่น
JAVA
Class Hello Word {
Public static void main ( String args[] ) {
For ( ;; ) {
System.out.print (“Hello World”);
}
}
}