| View previous topic :: View next topic |
| Author |
Message |
Dr.Disrespect Grandmaster Cheater
Reputation: 3
Joined: 17 Feb 2016 Posts: 526
|
Posted: Sun Mar 13, 2016 10:20 pm Post subject: Can I learn C++ without learning C? |
|
|
Can I learn C++ without learning C? Is it gonna be hard? Or what advantage would I have if I already knew C before learning C++?
Last question, is it necessary to learn C before learning other programming languages?
Thanks a lot.
|
|
| Back to top |
|
 |
Zanzer I post too much
Reputation: 126
Joined: 09 Jun 2013 Posts: 3278
|
Posted: Sun Mar 13, 2016 10:39 pm Post subject: |
|
|
No language requires you to know another language in order to use it.
If you want to learn C++, learn C++.
Had you already known C, of course C++ would be easier to learn.
Opposite is just as true. After you learn C++, it will be easy to pickup C.
|
|
| Back to top |
|
 |
Dr.Disrespect Grandmaster Cheater
Reputation: 3
Joined: 17 Feb 2016 Posts: 526
|
Posted: Sun Mar 13, 2016 10:51 pm Post subject: |
|
|
| Zanzer wrote: | No language requires you to know another language in order to use it.
If you want to learn C++, learn C++.
Had you already known C, of course C++ would be easier to learn.
Opposite is just as true. After you learn C++, it will be easy to pickup C. |
Thanks, that's exactly the answer I am looking for.
|
|
| Back to top |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
|
Posted: Wed Mar 16, 2016 2:52 pm Post subject: |
|
|
C++ is a superset of C. Meaning that anything you can do in C, you can do in C++.
In today's times, you are best off just going with C++ over C. There is no real reason to constrict yourself to C.
C++ extends that C language with very useful features such as:
- An actual bool type.
- Better memory management.
- Casting Operators
- Classes
- Exception Handling
- Namespaces
- Templates
And tons more.
_________________
- Retired. |
|
| Back to top |
|
 |
|