Runescape Bits & Bytes
https://www.rsbandb.com/forums/

I wan't to learn to program something.
https://www.rsbandb.com/forums/viewtopic.php?f=38&t=69544
Page 1 of 1

Author:  Zac [ July 24th, 2008, 9:51 pm ]
Post subject:  I wan't to learn to program something.

Basically what I want to do is program something. I don't know many languages. All I know is HTML and CSS. If anyone could give me a tip on something easy to program, It would be appreciated. Also what programming language should I start off with? I want to start off easy.

Thanks,
Zac

Author:  Adbot [ July 24th, 2008, 9:51 pm ]
Post subject:  Register and login to get these in-post ads to disappear


Author:  hummerwar921 [ July 25th, 2008, 10:52 am ]
Post subject:  Re: I wan't to learn to program something.

First, learn that want isn't a contraction.

Second, get VB6. It's the simplest language so far, and not bloated the new versions of Visual Basic.

Very very very easy to learn. There are tutorials all over the internet.

Author:  Shane [ July 25th, 2008, 11:33 am ]
Post subject:  Re: I wan't to learn to program something.

As I always say do not start off with VB. It teaches you bad syntax and relies heavily on spacing to separate blocks. The only time I'd use VB is if I wanted to learn it for fun. If you really want to get serious go with Java as that's what most universities use. You could also try C++/C or PHP if you're interested in web stuff...

But as for tutorials, google is your friend. Just put in <<Your language here>> tutorials as the search term.

Here are some Hello World programs for those:

Java
Code:
public class HelloWorld{
    public static void main(String[] args){
        System.out.println("Hello World!");
    }
}


C
Code:
#include <stdio.h>

int main(){
    printf("Hello World!\n");
    return 0;
}


C++
Code:
#include <iostream>

using namespace std;

int main(){
    cout << "Hello World" << endl;
    return 0;
}


PHP
Code:
<?php
    echo "Hello World";
?>


As for compilers/IDEs for the Java I'd recomend BlueJ (nice and simple) for the C/C++ get Dev C++ or if you're on unix just use gcc/g++.

Author:  Jeff [ July 25th, 2008, 11:44 am ]
Post subject:  Re: I wan't to learn to program something.

I agree with Shane. If you start off with a language with a C-based syntax like PHP, Java, C++, it'll help you in the long run. Starting off with Visual Basic will give you the wrong idea of programming.

Author:  Ben [ July 25th, 2008, 12:12 pm ]
Post subject:  Re: I wan't to learn to program something.

Start like I did,
Take a php application and dissect it.

Page 1 of 1 All times are UTC - 7 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/