Welcome, Guest. Please login or register.

Author Topic: i want to learn to code, where should i start?  (Read 4258 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline motorollin

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show all replies
Re: i want to learn to code, where should i start?
« on: August 13, 2008, 12:04:04 PM »
Pick a language which does what you want and has syntax you like. You say you can already read C, and C can do pretty much anything. So that's a good start. Then think about what you actually want to do and then Google for examples. In my experience that's a really good way to learn the functions of the language, and since you already know the syntax you should be writing your own code before you know it once you have learned the functions you need by looking at examples.

Edit - Make sure you are using a decent IDE. An environment which offers code completion makes things *much* easier. When you can see the possible functions you can use as you are typing, and then see the arguments for that function, you can blag it. For example, I was recently writing some VB (which I have never used before). I needed to use some socket functions. I started typing, and the IDE completed the name of the function for me and popped up the arguments. So I could use the functions without ever using them before or having to look it up.

--
moto
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10