I've been to a couple of websites and they suggest learning c or c++ before taking a shot at assembly.
what are some of your views on this?
This really has very little to do with assembly.
It doesn't matter which you learn first, since they're basically the same. Once you know one, the other is easy.
Quote from: iago on November 24, 2003, 08:38 AM
This really has very little to do with assembly.
It doesn't matter which you learn first, since they're basically the same. Once you know one, the other is easy.
Err.. no, that's not really true at all. There are
many differences between C and C++, even beyond language features - for instance, the programming paradigms C++ is designed to support are completely different from those that C supports.
Most books recommend learning C++ first.
Thanks for the help.
And, sorry if this is in wrong place where should i put a question like this next time?
If you're asking about whether ot learn C or C++ first, the C/C++ forum is a good place :P
And I agree with Skywing, C++ first is better. But once you know that, applying the knowledge to C is fairly easy.
He was asking if he should learn C/C++ before he attempts assembly, from what I saw he never edited his post either.
Quote from: CrAz3D on November 25, 2003, 12:13 PM
...from what I saw he never edited his post either.
Nobody said he did.
I guess if he really wants to go to asm, C would probably be better since if forces you to learn pointers.
Quote from: iago on November 25, 2003, 01:36 PM
Quote from: CrAz3D on November 25, 2003, 12:13 PM
...from what I saw he never edited his post either.
Nobody said he did.
I guess if he really wants to go to asm, C would probably be better since if forces you to learn pointers.
hey! pointers are still widely used in c++! :p
Quote from: Etheran on December 01, 2003, 04:51 PM
Quote from: iago on November 25, 2003, 01:36 PM
Quote from: CrAz3D on November 25, 2003, 12:13 PM
...from what I saw he never edited his post either.
Nobody said he did.
I guess if he really wants to go to asm, C would probably be better since if forces you to learn pointers.
hey! pointers are still widely used in c++! :p
Sure, but not as much. Pointers usually take a back seat to references, and more specifically, char* is usually handled by std::string.
Note that you will still (probably) end up using pointers and char*s and things lots, because most operating system APIs still use those kinds of types. In my experience, this has held true for many different operating systems.