Intro to programming

XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).

Moderator: General Moderators

User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

Intro to programming

Post by Luke »

I would like to start learnling some type of programming language. I was thinking I should probably start with C/C++. Is this the best thing to start with ya think? If so, does anybody know any good online resources for an introduction? If I get into it, I will buy a book, because I prefer to learn that way, but I'd like to start with just a good online resource. Thanks.
Roja
Tutorials Group
Posts: 2692
Joined: Sun Jan 04, 2004 10:30 pm

Post by Roja »

Umm, PHP is a programming language.

Did you mean learn another programming language?

If so, what is the goal? Do you want to learn a language that does something PHP doesn't? If so, which things?
User avatar
raghavan20
DevNet Resident
Posts: 1451
Joined: Sat Jun 11, 2005 6:57 am
Location: London, UK
Contact:

Post by raghavan20 »

you should probably choose to learn Java because it can be used to develop applications for all kind of devices and platforms. It is good in OO and probably highly used programming language in the World. It has one of the very best documentations available for any language.

But if you want to earn serious money and you are more into complex stuff, you should learn c++. Anybody here can tell me whether C++ professionals are paid the most??
User avatar
shiznatix
DevNet Master
Posts: 2745
Joined: Tue Dec 28, 2004 5:57 pm
Location: Tallinn, Estonia
Contact:

Post by shiznatix »

Here Java programmers are the highest paid. If you know Java very well then you are able to work at a whole lot of places and basically name your own price and hours as long as you produce a product by the deadline. I highly recommend Java.
User avatar
Buddha443556
Forum Regular
Posts: 873
Joined: Fri Mar 19, 2004 1:51 pm

Post by Buddha443556 »

User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

Post by Luke »

Roja wrote:Umm, PHP is a programming language.

Did you mean learn another programming language?

If so, what is the goal? Do you want to learn a language that does something PHP doesn't? If so, which things?
I apologize... I want to create standalone programs and I already know PHP for the most part. I should have been more clear.

I just am bored with PHP and would like to learn something new. I'm not really interested in making money with it yet. I just get a kick out of learning new stuff.

I already downloaded Dev-C++ and I got an error telling me There is not GNU Make file in PATH or Dev-C++'s bin file... what does this mean?
Charles256
DevNet Resident
Posts: 1375
Joined: Fri Sep 16, 2005 9:06 pm

Post by Charles256 »

no code :-/ Either way. In my area you have to know c++ and Java to make the serious dough..not sure why...I just see the requirements... : shrugs :
User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

Post by Luke »

Charles256 wrote:no code :-/ Either way. In my area you have to know c++ and Java to make the serious dough..not sure why...I just see the requirements... : shrugs :
In a range from 1-10: 1 making ABSOLUTELY No sense, and 10 meaning somewhat confusing, I give you a -86.
Ree
Forum Regular
Posts: 592
Joined: Fri Jun 10, 2005 1:43 am
Location: LT

Post by Ree »

Learn Java.

A very nice (and free) downloadable book ('Thinking in Java') with code examples you can find here.
timvw
DevNet Master
Posts: 4897
Joined: Mon Jan 19, 2004 11:11 pm
Location: Leuven, Belgium

Post by timvw »

Start with english. Most programming languages i know are simply a subset of that language.

After that it really depends on what you want to do with it. What do you want to program? As soon as we know that we can advise a language/api that allows you to achieve the goal with the least effort.

Imho "standalone" program is way to vague... Might want to define what you mean with "standalone" first or tell us more about what you really have in mind.
foobar
Forum Regular
Posts: 613
Joined: Wed Sep 28, 2005 10:08 am

Post by foobar »

timvw wrote:Imho "standalone" program is way to vague... Might want to define what you mean with "standalone" first or tell us more about what you really have in mind.
He probably means compiled languages that can be used to create native executables, like C.
timvw
DevNet Master
Posts: 4897
Joined: Mon Jan 19, 2004 11:11 pm
Location: Leuven, Belgium

Post by timvw »

All programming languages that i know are translated/compiled into another language, be it object code or (virtual) machine language. So my question remains: What does the OP mean with standalone program?
Charles256
DevNet Resident
Posts: 1375
Joined: Fri Sep 16, 2005 9:06 pm

Post by Charles256 »

Jcart | Bad Monkey
User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

Post by Luke »

timvw wrote:Start with english. Most programming languages i know are simply a subset of that language.
HAHA that gave me quite the chuckle...
timvw wrote:After that it really depends on what you want to do with it. What do you want to program? As soon as we know that we can advise a language/api that allows you to achieve the goal with the least effort.
Well I dont really have anything in mind yet... just want to learn.
timvw wrote:Imho "standalone" program is way to vague... Might want to define what you mean with "standalone" first or tell us more about what you really have in mind.
By standalone, I mean a program that does not require a browser to run.

Anyway... I decided to learn C++. Does anybody know of a good (Free) compiler?
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

You can get Microsoft's, which despite peoples' jeering, is quite good (for Windows) via downloading Visual C++ 2005 Express Edition (you don't have to use their IDE, and for learning, you shouldn't) .. if you want a cross-platform compiler, gcc is used a lot.

Just like any other language, I suggest you learn it without an IDE first. Learn how the command line compilers and linkers work. Learn how to make a makefile, all that fun stuff.
Post Reply