Learning to program

heh to do hello world in C++ its.

#include<iostream>

using namespace std;

int main()
{
cout << "hello world" << endl;

system("pause")
return 0;
}

I think thats right, havent done C++ in ages.
 
heh to do hello world in C++ its.

#include<iostream>

using namespace std;

int main()
{
cout << "hello world" << endl;

system("pause")
return 0;
}

I think thats right, havent done C++ in ages.

That seems like a huge waste of time and space just to say hello world, that must take up much more room than the Python format
 
No, start with Pascal, proceed to C and C++ and learn Visual Basic. :)

IMO, Visual Basic is a waste of time. Yes, its simple, but I seriously don't see the point in it. I have done VB6 (at College) and VB.Net (at University) and now I am doing Java (have an exam in a week =/), which I think is a much nicer language to program in, and VB is like no other language I have come across.

your first choices were probably better. lol..
 
Most programmers will use python too to script out and debug their software. Python scripting can come in handy when evaluating, say 100s of thousands of lines of code.
 
Most programmers will use python too to script out and debug their software. Python scripting can come in handy when evaluating, say 100s of thousands of lines of code.

I have over 2000 lines of PHP in front of me right now. I have written the code in the last week. It's a database management system I am creating for work. It's fairly simple, I am just hard coding our most often used actions.

PHP is easily the best web language. It's hard to understand at first but after a while it's really easy.
 
I have over 2000 lines of PHP in front of me right now. I have written the code in the last week. It's a database management system I am creating for work. It's fairly simple, I am just hard coding our most often used actions.

PHP is easily the best web language. It's hard to understand at first but after a while it's really easy.

PHP has limits though, simple yes, for web front ends yes fine, for complex programs people will use python to debug their software, or perhaps perl.

I think PHP is great but I wouldn't use it beyond anything for a web front end to a database. You creating your own CMS?
 
From reading through this now it seems pretty much well known that Python is very good for use on it's own and other formats of programming, especially for debugging and testing.

Am i right in thinking this from what i have read, and also that I have made a good choice to start there because of this?
 
From reading through this now it seems pretty much well known that Python is very good for use on it's own and other formats of programming, especially for debugging and testing.

Am i right in thinking this from what i have read, and also that I have made a good choice to start there because of this?

Hey man the more languages you know the better programmer you will be. Even knowing archaic languages like Pascal and fortran and the like even help out.

There is no such thing as bad knowledge, some of it may be a bit useless but if programming is something you are into I would say learn as much as you can before college thus making college life a lot easier.
 
Hey man the more languages you know the better programmer you will be. Even knowing archaic languages like Pascal and fortran and the like even help out.

There is no such thing as bad knowledge, some of it may be a bit useless but if programming is something you are into I would say learn as much as you can before college thus making college life a lot easier.

right, you may not know this not being in england and all, but would a computer course at college involve programming, only when you mentioned college there only just thought i may have to do this all over again next year when i do computing :P
 
Whatever language you learn it doesn't overly matter( providing its not a noob language like VB). So long as you can programme well it in no one is going to be like "omg he did that in python it would of been so much cooler in C"

Once you've learned one language its easy to move to another because the theory behind programming is there. just pick one, learn it well and move on. you will then find one that suits you best and you can adopt that as your main language.
 
Hey man I'm from the UK, and I'm in my first year at college and doing AS computing, just had my exams last week haha.

Yeah if you take "computing" not "ICT" (ICT iz for teh n00b :p)- then you will need to know how to program and I would definitely recommend you continue programming now, it will give you a big head start, and give you a subject where you're more or less guaranteed a good grade.

The AQA exam board has 2 exams in the first year, one of the exams is basically analysing a program and programming in the changes and modifications they ask you to do, and that's worth 60% of your total grade. The second paper is about computer hardware, structure of the internet and stuff about ethics like data protection act, and thats worth 40%.

mmm for programming languages the most common ones they teach in college for first year students is C#, Delphi (based on pascal) or visual basic. But i know you can take the exam in: C, C#, Java, Pascal, PHP, Python, VB 6, VB.Net.

Might be an idea to learn something like pascal in Delphi, instead. (they do still use Delphi btw to program now a' days, i know FL-Studio a digital audio work station software is made using Delphi).

But what ever you language you learn, the basic principles are still similar just a different syntax. Was a guy in my class who already knew C# really well so he took the exam in that rather than the rest of us who took the exam in Delphi using pascal.

:)
 
Hey man I'm from the UK, and I'm in my first year at college and doing AS computing, just had my exams last week haha.

Yeah if you take "computing" not "ICT" (ICT iz for teh n00b :p)- then you will need to know how to program and I would definitely recommend you continue programming now, it will give you a big head start, and give you a subject where you're more or less guaranteed a good grade.

The AQA exam board has 2 exams in the first year, one of the exams is basically analysing a program and programming in the changes and modifications they ask you to do, and that's worth 60% of your total grade. The second paper is about computer hardware, structure of the internet and stuff about ethics like data protection act, and thats worth 40%.

mmm for programming languages the most common ones they teach in college for first year students is C#, Delphi (based on pascal) or visual basic. But i know you can take the exam in: C, C#, Java, Pascal, PHP, Python, VB 6, VB.Net.

Might be an idea to learn something like pascal in Delphi, instead. (they do still use Delphi btw to program now a' days, i know FL-Studio a digital audio work station software is made using Delphi).

But what ever you language you learn, the basic principles are still similar just a different syntax. Was a guy in my class who already knew C# really well so he took the exam in that rather than the rest of us who took the exam in Delphi using pascal.

:)

right, so if i was to learn this every day for the next year or so and get proper good at python then they would let me take the exam in python rather than delphi?

oh, and yes, ICT is for teh n00bs :P the reason that you don't do programming vinnie is because MS office has no programming tools and offices don't program...oh, and programming isn't in any sort of data/office legal stuff that would affect a bank or heal spa or farm or some other crap that needs a made up business scenario...god ICT is boring, why did i take it at GCSE :P ?
 
Last edited:
right, you may not know this not being in england and all, but would a computer course at college involve programming, only when you mentioned college there only just thought i may have to do this all over again next year when i do computing :P

Well, put it this way. You learn say shell programming, python and perl before college right? You can probably waltz right through any Unix course with that knowledge. You could probably also waltz through say, Solaris/Unix/Linux administration courses because you are already familiar with the command line.

This will also help you better under stand open source technologies which every platform uses, like LDAP or MySQL for example. You start learning how to program and access them now, in a few years from now in College you will be in the head of your class. Then again, it really depends if that is something that you want to do.
 
hehe, the way I am going at the minute it may just be that that is what i want to do, it is hella fun to do :P
 
right, so if i was to learn this every day for the next year or so and get proper good at python then they would let me take the exam in python rather than delphi?

oh, and yes, ICT is for teh n00bs :P the reason that you don't do programming vinnie is because MS office has no programming tools and offices don't program...oh, and programming isn't in any sort of data/office legal stuff that would affect a bank or heal spa or farm or some other crap that needs a made up business scenario...god ICT is boring, why did i take it at GCSE :P ?

Haha i remember the good old days of ICT and that damn implementation report about the made up business situation, and somehow making a database would solve all the problems.

Yeah i reckon they should do :) Thats what a dude in my class did, at first they made him do a bit of delphi just to keep occupied, but because he already knew C# he picked it up really quick and finished all the textbook exercises really quick- and most of the time he spent programming this side scroller game he was making. He took the exam in C#.
 
Haha i remember the good old days of ICT and that damn implementation report about the made up business situation, and somehow making a database would solve all the problems.

Yeah i reckon they should do :) Thats what a dude in my class did, at first they made him do a bit of delphi just to keep occupied, but because he already knew C# he picked it up really quick and finished all the textbook exercises really quick- and most of the time he spent programming this side scroller game he was making. He took the exam in C#.

lmao, i hated the project part of it. It was a joke, how the hell can every company ever need a spreadsheet and mail merge, and then they are happy to have a sucessful business? It makes no sense, this isn't preperation for the future!!

I finally get to be completely rid of th damn subject after tomorrow, got my IT exam and then i can get away from it forever :D
 
Back
Top