Of course it is. If you start learning C++ without the classes it is (in my opinion) more user-friendly than C. Once you get into classes, it gets more complex, but of course you can start on C++.
Sure, why not? Waaaayyyy back when I learned to program, we had to learn higher-level languages like Fortran, Pascal, etc. as well as lower-level languages like assembly. The profs did a study to see what type of people got better scores in their classes. They discovered that people who took assembly first performed better in higher-level languages than those who started learning higher-level languages w/o any other language background. Conversely, those who had learned a higher-level language first, did better with assembly that those who started learning assembly w/o any other language background.
What does this have to do with your question? Probably nothing. It all depends how hard you are willing to work. There was an article in C/C++ Users Journal last year by Bjarne Stroustrup (the father of C++) about why he thought new programmers should learn C++ first. James P. Cottingham
I am the Unknown lead by the Unknowing.
I have done so much with so little
for so long that they think I am now
qualified to do anything with nothing.
I recommend you start learning with C++. It is an Object Oriented Programming language that does it all, and once you learn it everything else will seem easy. However the learning curve can be steep, and this is why tutorials and forums like this one exist. Gary
go for the dummies books.
the idiots guides are excelent.
I sugest you start with dos programming first.
do the visualls later. after all borland builder handles
quite a lot of the visual and you need a firm backgraound
with pointers, arrays, IO and such first.
After reading all the comments I realised that in fact you can go either way about it. But depending on what you would like to do you could choose something else.
C
C is a high level language (means you don't program with 1s and 0s) however it lacks all the features of an object oriented language. It is generally speaking the fastest high-level language out there but it does require consistency and is used more to do math programs, drivers for microcontrollers inside cars (and in your computer too), operating systems, anything that requires speed.
C++
Also a high level language it allows you to construct your programs in objects that you manipulate. It is closer to your natural way of thinking. C++ is also very fast but not as fast as C (a this speed you don't worry too much though, it is however a great deal faster than fake programming languages like VB). Very versatile program used to do a great deal of thing it is in games nowadays that are done in C++. The syntax and the learning curve is just a bit higher/harder than ANSI C.
In my opinion, learning C++ first is better. I hear too many problems with people going from C to C++ but the reverse is not AS much. If you know C++, C is easier to pick up. That is how I learned C. I never had any classes on it (though some of what C++ teaches can be applied to C) and I picked it up fine. Think of C++ as proper english grammar and C as someone with a Boston accent or a souther drawl. You might have a FEW questions about what they say, but for the most part you can carry on a conversation
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.