Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Can I learn C++ without learning C?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
Dr.Disrespect
Grandmaster Cheater
Reputation: 3

Joined: 17 Feb 2016
Posts: 526

PostPosted: Sun Mar 13, 2016 10:20 pm    Post subject: Can I learn C++ without learning C? Reply with quote

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
View user's profile Send private message
Zanzer
I post too much
Reputation: 126

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Sun Mar 13, 2016 10:39 pm    Post subject: Reply with quote

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
View user's profile Send private message
Dr.Disrespect
Grandmaster Cheater
Reputation: 3

Joined: 17 Feb 2016
Posts: 526

PostPosted: Sun Mar 13, 2016 10:51 pm    Post subject: Reply with quote

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. Very Happy
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Wed Mar 16, 2016 2:52 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites