Go Back   Forums > Community Chatterbox > Tech Corner > Programming
Memberlist Forum Rules Search Today's Posts Mark Forums Read
Search Forums:
Click here to use Advanced Search

Reply
 
Thread Tools Display Modes
Old 10-04-2012, 09:16 PM   #11
yoni0505
Forum hobbit

 
Join Date: Dec 2007
Location: Ramat Gan, Israel
Posts: 39
Default

I don't see the reason of learning C before C++.
C++ got everything C got, and can run C code.
Just learn the basics and later proceed to object oriented programming.

A good site to start learning C++ is www.cplusplus.com, this is where I started.
Later on when you will start having problems I would recommend getting help from Stack Overflow or DaniWeb forums. They both have great community of experienced programmers that can solve just about any problem.

I personally use Visual C++ Express as my IDE. It's free and provides all you need.
yoni0505 is offline                         Send a private message to yoni0505
Reply With Quote
Old 11-04-2012, 12:15 AM   #12
jonh_sabugs
Abandonia nerd

 
Join Date: May 2010
Location: Brazil
Posts: 91
Default

I disagree. What you call basics are algorithms and computer mechanics. I remember teaching someone Java once, only to realize how much stress I was giving her by making she understand both algorithm and object-orientation at the same time. In essence, both concepts are very different, and were creating a huge confusion. It worked much smoother when I separated the lessons, having her learn C first.

Saying that C++ "runs everything C runs" is like saying a computer runs all the languages, so learn computers. I really think one should start in pure C (which is structurally reasonably different from "typical" C++ code). The translation of C code into machine language is quite intuitive, specially in PC-like architectures. This particular feature turns C learning into a good lesson about memory structuration and processor mechanics. It helps you understand how things are organized. Object orienting is much farther from the machine, and much closer to the real world, making it a completly different way of thinking.
jonh_sabugs is offline                         Send a private message to jonh_sabugs
Reply With Quote
Old 11-04-2012, 09:44 PM   #13
peedee
Newbie

 
Join Date: Jul 2009
Location: Tottenham, England
Posts: 11
Default

Long time lurker, first time poster

MIT make videos of loads of their undergraduate lectures available online! There plenty for the first semester of Computer Science. Check these out:

http://ocw.mit.edu/courses/electrica...ideo-lectures/

Your can learn all about data types / variables / selection / iteration / OOP. All the basic building blocks that computer programmes are written on.

Hope that helps and good luck!
peedee is offline                         Send a private message to peedee
Reply With Quote
Old 11-04-2012, 10:00 PM   #14
Japo
Autonomous human
 
Japo's Avatar


 
Join Date: Mar 2006
Location: ,
Posts: 4,613
Default

One of the most discussed questions about programming is which language is best to start, and people have strong opinions on it. I myself am not sure there's an answer to that, even for a particular person or purpose. Actually I do think no language can be a wrong choice as the first one, and there will never be any harm in learning something. Prior knowledge enables you to learn further, I don't think it can limit what you can learn thereafter.

It doesn't matter if the language is object-oriented. Of course no matter the language, you will have start with the basics. Even in C you would start writing your first program in main() without any other functions, and later you can learn what functions are and how to use them. If you're using a language with objects, later you can learn how to define your own and what they're for, only later you'll learn about inheritance, later about polymorphism... But even if a language is object-oriented, meaning that it doesn't let you do anything that's not an object, I don't think it's a bad choice to start. I'm not saying the opposite either, any of the suggestions so far is good.

I could never understand objects until I had to use them. I have always found that every explanation about them is worthless, because they say that programming objects are like real objects and that's why they're useful, and in my opinion that makes no sense and isn't the case. I think any explanation of object-oriented programming should point, with examples, how they're a solution to problems that arise when you try to write the same program without using them.

My advice is that the time you spend deciding a language will be lost. Just start coding in whatever you find accessible. You can learn other languages later. Use whatever your friends use.
__________________
Life starts every day anew. Prospects not so good...
Japo is offline                         Send a private message to Japo
Reply With Quote
Old 11-04-2012, 10:17 PM   #15
jonh_sabugs
Abandonia nerd

 
Join Date: May 2010
Location: Brazil
Posts: 91
Default

One mistake we sometimes make, after we learn programming, is to forget how overwhelming a program can look to those who haven't learned it yet. I remember my first PASCAL classes in college, how people struggled to grasp the basics of algorithms.

I know I am repeating myself but I really think one should learn to think algorithmically before tackling other things. I believe there is a reason we didn't approach object orienting until the second year.
jonh_sabugs is offline                         Send a private message to jonh_sabugs
Reply With Quote
Old 12-04-2012, 11:01 AM   #16
peedee
Newbie

 
Join Date: Jul 2009
Location: Tottenham, England
Posts: 11
Default

Quote:
I really think one should learn to think algorithmically before tackling other things
On the Computer Science course I am currently studying, we had to learn algorithim development before we were allowed anywhere near a programming language

This is the text book we used, if that helps anybody?! :
http://www.amazon.co.uk/How-Think-Li...4224631&sr=8-1
peedee is offline                         Send a private message to peedee
Reply With Quote
Old 13-04-2012, 12:23 AM   #17
Japo
Autonomous human
 
Japo's Avatar


 
Join Date: Mar 2006
Location: ,
Posts: 4,613
Default

Quote:
Originally Posted by peedee View Post
On the Computer Science course I am currently studying, we had to learn algorithim development before we were allowed anywhere near a programming language

This is the text book we used, if that helps anybody?! :
http://www.amazon.co.uk/How-Think-Li...4224631&sr=8-1
This is a free course that starts on Monday, taught by the head of Google's R&D department, and formerly of NASA's, Prof. Peter Norvig:
Design of Computer Programs
I'm going to be there, of course.
__________________
Life starts every day anew. Prospects not so good...
Japo is offline                         Send a private message to Japo
Reply With Quote
Old 13-04-2012, 12:34 PM   #18
peedee
Newbie

 
Join Date: Jul 2009
Location: Tottenham, England
Posts: 11
Default

Quote:
Originally Posted by Japo View Post
This is a free course that starts on Monday, taught by the head of Google's R&D department, and formerly of NASA's, Prof. Peter Norvig:
Design of Computer Programs
I'm going to be there, of course.
Schweet!! Will check it out!
peedee is offline                         Send a private message to peedee
Reply With Quote
Old 14-04-2012, 02:32 AM   #19
Japo
Autonomous human
 
Japo's Avatar


 
Join Date: Mar 2006
Location: ,
Posts: 4,613
Default

That's a leading private online university (although their courses are somewhat easy for a higher education level), and they have another course that Darth and other beginners might be interested in: CS 101 introduction to programming, applied to "Building a Search Engine". Both courses use the Python language, so you can't possibly complain that they force any paradigm on you.
__________________
Life starts every day anew. Prospects not so good...
Japo is offline                         Send a private message to Japo
Reply With Quote
Reply


Similar Threads
Thread Thread Starter Forum Replies Last Post
Darth Goes Camping Again. DarthHelmet86 Introductions, Farewells and Returns 15 23-09-2010 12:54 PM
Learn to Add marko river Games Discussion 3 03-03-2010 04:29 PM
I wish to learn you better! I'm interesting on you _r.u.s.s. Blah, blah, blah... 38 18-04-2009 10:04 PM

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump
 


The current time is 08:16 AM (GMT)

 
Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.