So your interested in programming?
|HW|ep0xy
Posted: Jan 27 2008, 03:44 PM


Darren


Group: HW Staff
Posts: 31
Member No.: 9
Joined: 20-December 07



So your interested in programming huh? Wanting to know how programs on your computers, the games on your video game consoles, or even how the bank atm works? First of all i should tell you programming isn't for everyone. Programming is a constant learning process, You will spend hours of your time writing code, debugging and compiling trying to find any bugs or errors in your application.

If your still reading and haven't been scared away the next question is what programming language is for you? There are so many out there but which one is right for you? It all depends on what applications you want to create and what operating system it will be on. The easiest to start off with is visual basic 6 which is on the Windows platform, but others might disagree. Everyone has their favorite. C/C++ is a powerful language that will work on multiple operating systems such as Windows and Linux. Microsoft offers free express compilers for VB.NET and C# which use the Microsoft Dot NET platform.Here at Hexes World we use VB6(Visual Basic 6), C/C++, and C#. You can make the same kind of programs in all of those languages but they work different when coding.

Here are some sample codes from each language:

Visual Basic 6
CODE

Private Sub Form_Load()
' This is a comment, Comments are not read by the compiler
MsgBox "Hello World", VbInformation
Unload Me
End Sub


C/C++
CODE

#include<iostream>

// This is a comment

int main()
{
    std::cout << "Hello World\n";
    return 0;
}


C#
CODE

// C# Comment
using System;

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



VB.NET
CODE

' Visual Basic.NET Hello, World!
Module Module1

   Sub Main()
       Console.WriteLine("Hello, World!")
   End Sub

End Module



Java
CODE

// Java Hello, World!
class HelloWorldApp
{
   public static void main(String[] args)
   {
       System.out.println("Hello, World!");
   }
}


Some languages are easier to understand then others but it might all just look like chinese unless you understand how programming works.

Microsoft Developers Network provides you with the compilers you need for C++, VB.Net, C# and the documentation for you to learn and advance yourself in the programming world.

Microsoft Developers Network

Game Dev - is a good site if your wanting to learn the basics and up on game programming.

Demons Revenge Tutorial Network - Has alot of ebooks for downloading covering computers and has various programming books. Free downloads


----------------------------------------------------------------------

if you find any errors in this post then please tell me about it or even if you want to add something.


--------------------
user posted image
Top
|HW|Hexes
Posted: Jan 27 2008, 04:09 PM


Hexes


Group: Admin
Posts: 31
Member No.: 1
Joined: 27-September 07



Nice topic, mate wink.gif
i hope it well help someone around tongue.gif
Top
|HW|Yberdo
Posted: Jan 27 2008, 06:06 PM


Yberdo


Group: HW Staff
Posts: 80
Member No.: 4
Joined: 3-October 07



You forgot Pascal. LOL laugh.gif


--------------------
user posted image
Top
|HW|Hexes
Posted: Jan 27 2008, 06:55 PM


Hexes


Group: Admin
Posts: 31
Member No.: 1
Joined: 27-September 07



QUOTE (Yberdo @ Jan 27 2008, 06:06 PM)
You forgot Pascal. LOL laugh.gif

Hexes World community doesn't focus on Pascal/Delphi language wink.gif
Top
|HW|SirButcher
Posted: Jan 27 2008, 08:24 PM


Sir Butcher


Group: HW Staff
Posts: 125
Member No.: 12
Joined: 18-January 08



But I have a great black jack game writen in Pascal tongue.gif


--------------------
A nobleman, looking for some meaning of life (and a horse and a flaming sword off course)

So big question of life: Are there life before the death?
Top
|HW|Yberdo
Posted: Jan 27 2008, 08:38 PM


Yberdo


Group: HW Staff
Posts: 80
Member No.: 4
Joined: 3-October 07



QUOTE (Hexes @ Jan 27 2008, 06:55 PM)
QUOTE (Yberdo @ Jan 27 2008, 06:06 PM)
You forgot Pascal. LOL  laugh.gif

Hexes World community doesn't focus on Pascal/Delphi language wink.gif

Yeah I know, that was a joke man.


--------------------
user posted image
Top
|HW|ep0xy
Posted: Jan 28 2008, 08:36 AM


Darren


Group: HW Staff
Posts: 31
Member No.: 9
Joined: 20-December 07



Well I'm planning on rewriting this so i will include pascal and delphi, Anything else i should add?


--------------------
user posted image
Top
|HW|Hexes
Posted: Jan 31 2008, 07:48 PM


Hexes


Group: Admin
Posts: 31
Member No.: 1
Joined: 27-September 07



Hmm, well maybe you should add some languages like PHP , Perl, Python ?
Top
|HW|SirButcher
Posted: Jan 31 2008, 09:29 PM


Sir Butcher


Group: HW Staff
Posts: 125
Member No.: 12
Joined: 18-January 08



If you want smile.gif

Here is some assembly:


CODE
Start
mov     ax,exam02
mov ds,ax
mov ax,0b800h
mov es,ax
mov di,2*(2*80+5)  
mov al,"B"


--------------------
A nobleman, looking for some meaning of life (and a horse and a flaming sword off course)

So big question of life: Are there life before the death?
Top
|HW|Yberdo
Posted: Feb 1 2008, 06:55 AM


Yberdo


Group: HW Staff
Posts: 80
Member No.: 4
Joined: 3-October 07



QUOTE (SirButcher @ Jan 31 2008, 09:29 PM)

Start
mov ax,exam02
mov ds,ax
mov ax,0b800h
mov es,ax
mov di,2*(2*80+5)
mov al,"B"

yeah, i can't figure it out laugh.gif What does it says that assembler code?


QUOTE

This is some pascal lol

program helloWorld;
begin
  WriteLn('Hello World!!!');
  Readln;
end.


LOL u can put them in table with all languages biggrin.gif


--------------------
user posted image
Top
|HW|SirButcher
Posted: Feb 1 2008, 07:11 AM


Sir Butcher


Group: HW Staff
Posts: 125
Member No.: 12
Joined: 18-January 08



that code write the letter B to the second char pos, and the fifth line. (or the fifht char pos and second line. Whatever...)


--------------------
A nobleman, looking for some meaning of life (and a horse and a flaming sword off course)

So big question of life: Are there life before the death?
Top
|HW|ep0xy
Posted: Feb 2 2008, 05:08 PM


Darren


Group: HW Staff
Posts: 31
Member No.: 9
Joined: 20-December 07



Nice, i could never get assembly down.

I can't add html, php, css, or other scripting languages because they are scripting languages not programming languages.


--------------------
user posted image
Top
|HW|Yberdo
Posted: Feb 2 2008, 06:52 PM


Yberdo


Group: HW Staff
Posts: 80
Member No.: 4
Joined: 3-October 07



QUOTE (ep0xy @ Feb 2 2008, 05:08 PM)

I can't add html, php, css, or other scripting languages because they are scripting languages not programming languages.

Yeah I know that. But u can put delphi, pascal and assembler


--------------------
user posted image
Top
|HW|SirButcher
Posted: Feb 14 2008, 09:10 AM


Sir Butcher


Group: HW Staff
Posts: 125
Member No.: 12
Joined: 18-January 08



Oh, and dont forget the Flash too smile.gif


--------------------
A nobleman, looking for some meaning of life (and a horse and a flaming sword off course)

So big question of life: Are there life before the death?
Top


Topic Options




Hosted for free by InvisionFree (Terms of Use: Updated 7/7/05) | Powered by Invision Power Board v1.3 Final © 2003 IPS, Inc.
Page creation time: 4.0894 seconds | Archive
Skin created by Hexes. From Hexes Word