-->

مذهل شاهد كيف تكتب "Hello World" في 26 لغة برمجة مختلفة

- 14:15

تعرف البرمجة بأنها عملية كتابة تعليمات وتوجيه أوامر لجهاز الحاسوب أو أي جهاز آخر مثل قارئات أقراص الدي في دي أو أجهزة استقبال الصوت والصورة في نظم الاتصالات الحديثة، لتوجيه هذا الجهاز وإعلامه بكيفية التعامل مع البيانات أو كيفية تنفيذ سلسلة من الأعمال المطلوبة تسمى خوارزمية.
في هاذا الدرس ستتعرفون على مختلف اللغات البرمجة و 
كيف تكتب 
"Hello World" 
في 26 لغة برمجة

1. Bash

echo "Hello World"



2. Basic

PRINT "Hello, world!"​


3. C

#include
 
int main(void)
{
    puts("Hello, world!");
}


4. C++

#include
 
int main()
{
    std::cout << "Hello, world!
";     return 0;
}




5. C#

using System;
class Program
    public static void Main(string[] args)
{     {
        Console.WriteLine("Hello, world!");
    }
}




6. Clipper

? "Hello World"




7. CoffeeScript

console.log 'Hello, world!'




8. Delphi

program HelloWorld;
begin
  Writeln('Hello, world!');
end.




9. HTML

Hello World!




10. Java

import javax.swing.JFrame;  //Importing class JFrame
import javax.swing.JLabel;  //Importing class JLabel
    public static void main(String[] args) {
public class HelloWorld {
        frame.setTitle("Hi!");                 //Setting title frame
        JFrame frame = new JFrame();           //Creating frame
        frame.pack();                          //Setting size to smallest
        frame.add(new JLabel("Hello, world!"));//Adding text to frame
}
        frame.setLocationRelativeTo(null);     //Centering frame         frame.setVisible(true);                //Showing frame
    }




11. JavaScript

document.write('Hello, world!');




12. jQuery

$("body").append("Hello world!");

13. Julia

println("Hello world!")

14. Logo

print [Hello, world!]

15. MatLab

disp('Hello, world!')

16. Objective-C

#import
#import  
int main(void)
{
    NSLog(@"Hello, world!
");     return 0;
}

17. Pascal

program HelloWorld;
begin
  WriteLn('Hello, world!');
end.

18. Perl 5

print "Hello, world!
";

19. Processing

void setup(){
  println("Hello, world!");
}

20. Python

print "Hello, world!"

21. R

cat('Hello, world!
')

22. Ruby

puts "Hello, world!"

23. Swift

println("Hello, world!")

24. VBScript

MsgBox "Hello, World!"

25. Visual Basic .NET

Module Module1
    Sub Main()
        Console.WriteLine("Hello, world!")
    End Sub
End Module

26. XSLT

      Hello World

اعلانات


أشكالأشكال

 

اكتب ما تريد اليحث عنه هنا