Friday, July 31, 2009

How easy is it to learn C++ or Java?

how easy is it to learn C++ or Java and where can i learn it for free?

How easy is it to learn C++ or Java?
I agree with the first poster that it depends on you, if you're familiar with other programming languages, especially other object oriented languages, it shouldn't be that difficult. If this is your first time programming it will probably be difficult, I recommend finding someone who knows the language that can give you advice and critique your code. However, the original poster is mistaken by saying w3chools.com is a good resource, they are focused on web programming and don't have a Java or C++ tutorial as far as I can see. Try Sun's official tutorials for java available here http://java.sun.com/docs/books/tutorial/ and here's a tutorial for C++ http://www.cplusplus.com/doc/tutorial/
Reply:Well no one can tell you for sure how easy it is because it all depends on you. There are lots of sites you can go to, I would recommend w3schools.com





If you are determined enough, you will be able learn it.

augustifolia

What is the BEST site to learn C++ with NO prior experience in programming?

I am very new to the whole programming game. I bought a book not to long ago called "C++ Without Fear", but I am having a hard time reading what this guy writes half the time.





I have also been to "Teach Yourself C++ in 21 Days" but again, this website assumes too much knowledge in programming in my opinion.





Is there a *FREE* website that offers a tutorial to fluently (or at least close to that) learn c++?

What is the BEST site to learn C++ with NO prior experience in programming?
http://www.cplusplus.com/ and http://cprogramming.com/ are probably your two best sites to get standard tutorials. You'll also want to keep track of http://www.parashift.com/c++-faq-lite/ and c-faq.com (it's offline at the moment, but you can get mirrors at anytime by googling for C FAQ).





Other sites are usually suspect (this includes the 21 days site). Most resources on C++ are either incorrect in various ways or are obsolete. Cboard.cprogramming.com, as well as the Devshed C++ Forum and Daniweb C++ forums have some very knowledgeable professionals to help out, and you should rely on them to correct mistakes initially. Their help can make a significant difference in how easily and painlessly you learn.





With C++ however, the real way to learn it is to get books. You can get an idea of how it works through online tutorials, and you probably will want to start out with online tutorials, but if you are serious about learning it, you absolutely must get a number of recognized and important books for C++. There's a lot, and I mean a lot, of old, incorrect, or otherwise terrible C++ books. Most of them aimed at beginners. The two books I recommend, and the books/authors are recognized in the C++ world, are C++ Primer (4th edition) by Lippman and Accelerated C++ by Koenig. Other recognized books are too advanced. You may find both books to be just a bit too fast paced, and assuming too much though (they really don't, but you might find it so). Apparently You can do it! (http://www.amazon.com/You-Can-Beginners-... ) is also a good book. I haven't seen it myself, but the author is definitely a recognized expert, and you can actually get his help sometimes on comp.lang.c++ and similar usenet groups. Might be worth getting his book.
Reply:www.codeproject.com


wud be best for ya
Reply:Right off the bat I can tell you need to drop the idea that your going to be a master of programming in C++ in under a month. A programming language takes time to learn the concepts and then properly creating a program that works. One of the hardest parts of programming for beginners comes at compile time. The frustration of errors can be too much for some. I'm sure you've experienced some of that already.





As I was saying, Its going to take you just under a year to get the basics down without referencing a manual. If it is something that you do leisurely then it will take longer. The only way you get better is to do more. Even the silly assignments in the back of chapters in books can help you learn more.





Some books are better than others in some respect. Some people like myself consider some books pathetic in the lack of real world examples. I've seen countless books use "Dog" and "Cat" classes, part of programming, in them.





You should have a few books, not beginner only, to be used to learn from and use as references. A few suggestions are:


Starting Out with C++: From Control Structures through Objects


http://www.amazon.com/Starting-Out-C%2B%...


and


C++ Primer Plus (5th Edition) (Primer Plus (Sams))


http://www.amazon.com/C%2B%2B-Primer-Plu...





Now, to answer your question. There isn't going to be a superior webpage to learn C++ for free. Some will be better than others, but none of them will teach you everything there is to know and get a job in programming. You might find some online college that gives more in depth training through some sort of online "pay for tuition" type class, but it is not free.





The "Best" website that I can think of to learn from for most web languages all in one place is: W3Schools http://www.w3schools.com/ , but no C++ here.





Another site to learn the very basics is @ About.com http://www.about.com/compute/ just scroll down to the programming languages section.





As for a good IDE to help you catch errors and compile your program I suggest Eclipse found @ http://www.eclipse.org/ make sure you have Java installed on your computer to run it.
Reply:Visual C is a good way to start if you are a beginner. There are many tutorials and stuff for that and it is targeted at people with no prior experience. It would be a good foundation before starting C++.
Reply:No C/C++ are too ancient for someone to have done that, you may try the '... for Dummies' series their introductory books are kinda good, while I consider myself too experienced to make use of those books they are unrivaled as to write it in a way that, well, a dummy can understand.





Skimp the entire book in store before you buy, although C++ goes hand in hand with its predecessor C, start with that.
Reply:i would suggest you try dummies for C++ it is really helpful for people starting or who have no pior knowledge to C++ programming
Reply:if u find any best site to learn C++ or any other language programme, u may get information from there, but in my openion the best way to get more and more knowledge for C++ is the virtual teacher.


How can i learn c++ prgraming language as fast as possible?

i need to learn c++ as fast as possible and i dont have time to read huge long books or read long walk throughs i need to know asap!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!...

How can i learn c++ prgraming language as fast as possible?
That's impossible. I'm sorry but you can't learn C++ fast.





Only way i can think of that anyone could learn C++ fast is if you already mastered another OOP language and all you need to do is learn the syntax of C++. I doubt even with this you will be able to fly through it in under a month. This all is assuming you have a great deal of programming experience from past language and good deal of understanding with computer hardware in order to manipulate it.
Reply:http://www.mindview.net/Books/TICPP/Thin...


try this, c++ isn't something you can learn in a day or two!
Reply:check out the video training section on 3dbuzz.com


u'll have to create an account to access them.
Reply:Take a training course (4 or 5 day) with hands on workshops. They are generally full day classes. I took a class at Bell Labs on C++ when I was already a very experienced C programmer. (Bell Labs is no longer around though) I am sure that other training companies sell these classes. (around $1500.00 per person in a group back in the 1980s)





Be sure that you have met the class prerequisites or you will be throwing your money away.
Reply:If U know bits of C... Then take the book titled "Object Oriented Programming Using C++" by Balaguruswamy... It gives U the basic of C++ in the easiest way possible.
Reply:Read those books, and practice. It sounds like you want to be able to program but not work for it, which, sorry buddy, means you will never learn it. I have spent hours sometimes trying to code small fragments. It takes years to become a good programmer.


I want to eventually learn C++, Where do I start?

What are the stepping stones/basic skills needed to learn C++? What are the best programing languages(C++ Java CORBA etc.)?

I want to eventually learn C++, Where do I start?
You can jump directly into C++. However if you are new to programming, I'd suggest starting with Python.





edit:


Kenshin, one of the advantages of Python is that the student can learn the basics of programming and the object oriented paradigm before having to learn the complexities of having to actually compile code. Python is nice because the library calls more often than not have the same syntax as their C/C++ counterparts.





I think a budding programmer is more likely to give up dealing with the frustration of not only learning algorithms and basic programming, but the complexities of compiling code itself.
Reply:Kenshin has an interesting viewpoint. However, I don't think I agree; indeed, I think starting with a high level interpreted language like Python is a great first step.





It's not like relatively unfriendly languages like C++ have benefits that are unattainable to Python programmers. Python is a first-class object-oriented language with a wonderfully expressive syntax. You can filter batches of data in one line, that would take an entire page of C++ to write.





But that's not all. Python's formatting is very strict, which means everybody's code is understandable because making cryptic Perl-like incantations is not easy in Python. So you can understand code written by better programmers than you; and you can understand your own code five years from now when you realize it really needs rewriting. (It will be worthwhile; you will understand it better in five years.)





And if performance is a make-or-break condition and one little part of your Python code is slowing you down, you can rewrite that little bit in C++ and you're done. This situation has never, repeat never, occurred to me. I have been programming in Python for eight years. Remember: computers are very, very, VERY fast and so if you can write a program faster in a more elegant, slower-executing language you will work much, much faster. Once again, I recommend Python.
Reply:You can start with C Programming.After that you can move to C++,JAVA or .NET(Hot this time)
Reply:The above post(s) suggests that if you are new to start with Python. THIS IS A SERIOUS MISTAKE!





Python is a wonderfulyl easy language to use. C++ is somewhat difficult. If you start with Python, you will immediately give up once you start using C++. In programming you must start with the most difficult, and work up to the easy languages. Programming is not an incremental discipline, language to language. Mastering an easy language like python will certainly doom you to learning any of the more complex languages such as C, C++, or Java.





Pick up an introductory book on C++. It will provide all of the coverage, examples, and tutorials you will need to get a good understanding.





(p.s. CORBA is not a language; it is a language independent communication protocol.)
Reply:why not start it with learning C,then if you can understand C well,it will be easier for you to learn C++.try this mothed,my friend. and when you are learning C,you can get some UNIX/LINUX source code and read them to improve yourself as well.
Reply:I am a big fan of college courses. And, respectfully, as a C programmer with knowledge of C++ I have to say E=MC2's enthusiasm is a little misplaced.





The real prerequisite for learning C++ is knowledge of and familiarity with what computers do. That's why I don't see the replacement of GWBasic with Visual Basic as a good thing at all.





GWBasic, like Python (from which it is very very different) is an interpreted language. In Basic's case that meant you could learn what a command was by typing it in and trying it out, then type it into a program. You can do that in Python. Python supports classes, like C++ (and smalltalk, another interpreted language) but that really just reflects that classes and objects are more efficient in today's computer architecture than they were in the old days. And that really doesn't matter. Python really is, like Basic, a language where you can get quick results and begin to appreciate what a database is and what data structures are through something better than an abstract textbook discussion, and quickly.





That's what you need: knowledge and familiarity with what computers do. The only problem with your knowledge of html is that you don't know the difference between a programming language and a page description language (which is what html is). I suggest you look it up.





Again, college is a good idea. At least auditing courses at a local community college. They will have formal prerequisites. Often the prerequisites will still involve Pascal. Since I learned C after learning Pascal, I will simply say Pascal uses a lot of the concepts which C does, but C uses a syntax which is highly compressed and full of acronyms (printf means PRINT Format) which can be hard to get used to. If you want to learn C++, learning pascal in a classroom environment might be a good thing. It might not.





All you really need to know is how a computer works and what it does well -- Computer Science has always been a subset of Applied Math and always will be. We don't like to talk about that because it scares people but it is.
Reply:C++ for dummies, seriously.





As Mike says you may want to try your hand at some others first. Python is a thought. If you're good with stuff like web programming, HTML, XML, CSS, you might be ready to move to more serious programming.


Maybe look at Visual Basic.





Best language is subjective and depends on the goal.


What is harder to learn PHP or C#?

I only know some html and I am planning to learn PHP. Once I tried to learn C# and I could not do it. Had trouble figuring out the OO stuff. Will PHP be easier for me? And how long will it take me top learn it if I study about 2 H per day . Thanks.

What is harder to learn PHP or C#?
I think PHP would be more difficult only because it's a scripting language. It's still object oriented programming, so you're not gaining any simplicity over C#.





You don't compile a scripting language like PHP. You just run it. You might get some error messages with line numbers when you try to serve the page, but a C# compiler will definitely give you better error detection. Additionally, you'd be able to debug and step through C# code to see what's actually happening.





If the OOP aspect is giving you trouble, you're not going to solve it by switching to PHP. Start small and learn some basic OOP concepts if you're having trouble.
Reply:If you don't have a good foundation in programming, any language is going to be challenging to learn. PHP is designed to be fairly easy to impliment, but you still need to understand how the logic works.





And don't "study" PHP... it's much easier to learn by example. find a tutorial and go through it. Make sure you understand what each line of the code does and why it does it before you move on.
Reply:i think C# is difficult.....





PHP is easy

nobile

Books to learn C# and XNA Studio at the same time?

I want to start to use XNA studio. I have nearly no programming experience but you need to learn C# to use XNA studios so I was wondering if there are any books that teach both at the same time, like teaches you some code then you can see what you can do with that with XNA studio or something. Thanks.

Books to learn C# and XNA Studio at the same time?
I'm pretty sure most XNA books assume that you know some C#. I have looked at lots of them, and that rule applies. That's due to the complexity of both topics.





I wouldn't advice learning XNA GSE before you are comfortable writing C# programs, even if they're small applications. You need to know about C#'s decision making, loops, classes and objects, access modifiers [encapsulation], method overloading, arrays, inheritance, polymorphism, etc... Those are basics, and you need to be able to recognize them as XNA code is (generally) composed of them. I'm not trying to discourage you, I'm just showing you should expect. Game programming is one of the toughest concepts programmers face, and it takes time to master, but it's very doable.





C# isn't normally used in professional game development, C++ is still the king, but learning C# is easy compared to C++, and if you grasp game programming concepts using C#, then the transition to C++ will be easy. Who knows, maybe C# -by then- will be the king in game development ;)





Some C# books I consider the best are:


1. Head First C#. You will actually develop some games, and acquire very practical coding skills through the various exercises the book presents.





2. Beginning C# Game Programming: by Ron Penton. This books has some logic mistakes, and other flaws, but it has one of the best explanations of object-oriented programming concepts, and you'll be able to understand them in no time.





Find some other beginners and form a team, you can learn a whole lot better that way.
Reply:you can go to you local bookstore and ask for a book related to c# programing, and XNA is done with c# so if you know c # you'll know what to do. but you can go online for some tutorials on XNA and the same for c# tutorials.


Can you learn C++ with bad math skills?

The reason I ask this question is that while for years now I have want to learn a computer programing language, primarily C++ but almost failed college alegebra.

Can you learn C++ with bad math skills?
Yes. I did.


Good luck.





Cheers :-)
Reply:Yeah, you need a C In College Algebra.





I am bad in math and am struggling in Calculus 1.





I have taken:


Col Alg


Pre-Cal


Trig


Cal 1





What I need to take still:


Cal 2


Physics 1


Physics 2


Discreet Math


Analyzing Algorithms


and like 3 other high level math courses I can't remember atm.
Reply:You'll only have problems if the program you're creating requires complex mathematical calculations.


Most of the time, you won't be using anything outside or regular addition, subtraction, multiplication, and division.
Reply:You can learn the language - sure .


However quite a lot of programming requires a certain degree of maths skills and -- writing efficient code will be much easier with good maths skills.





I suggest a quick maths brush up
Reply:In most business applications, the formulas are known....it is most likely the same formulas they have been using for quite some time What you will be doing is putting a value to your variable from a datasource. then using the business rules that are already established. In some cases, you will need to formulate your own calculations.........but ONLY the formula, you are programming because you want the COMPUTER to do the math.





I suck at math. This is precisely why I became a programmer.
Reply:You could learn it without math skills, but probably not get a job as a game programmer without.
Reply:yes you can, you can do complex application with c++ without even refering to math.





but anyway it depends on what is your applications, for example, image processing and digital signal processing, you have no chance if you don't know some advanced math.





any way don't give up, there is some math cources and books for programming, lets say you want to do an image processing algorithm, these books will teach you only what you need to get it done, like teach you only little matrix and little foriour transforms.





math is not easy for me, but when time come and i need a specific topic, surprisingly i can understand math!





by the way i prefere if you start first with C, only when you master it with pointers, then start with C++, its the easy way to be expert in c++.


wish you good luck
Reply:There is no relation between algebra and C++
Reply:u can, u just need the logic sense
Reply:If you really want to learn you will learn. Just practice.
Reply:Yes you can ace a programming language even you do pis$-poor on math.





I failed Calculus 3 in my second year in U Toronto. As in gotten an F, I manage to pass it with a C in my third try.
Reply:Yes Sure By Practicising Again and again...u should think that u have bad math skills...
Reply:Programming in any language does not require a great deal of skill in math.





The only reason math is so heavily pushed into the computer science degree is to try to teach students logic.





If you have logic skills, you can code with no math skills.





Guess our education system hasn't learned that you can't teach logic, must be born that way.
Reply:You actually won't need any math skills for most of the programs, unless you are making them to do equations and such. Otherwise, you will be fine in learning C++.
Reply:yes u can
Reply:yeah u can learn..............