Is C or C++ better for ethical hacking? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 11

Is C or C++ better for ethical hacking?

I want to be an ethical hacker, and I am wondering if I should learn C or C++.

24th Oct 2020, 3:35 AM
Aria
Aria - avatar
99 Answers
+ 8
Both are Ok
25th Oct 2020, 1:17 AM
Sonic
Sonic - avatar
+ 9
https://code.sololearn.com/WykoN7bcDsgX/?ref=app Check Specialization FAQs. There is a Hacking section there. All I got there was from using the search bar, which is also helpful.
24th Oct 2020, 10:50 PM
Fenix B Monsanto
Fenix B Monsanto - avatar
+ 7
24th Oct 2020, 5:20 AM
Sharofiddin
Sharofiddin - avatar
+ 7
This is everything about hacking 👇 http://www.catb.org/esr/faqs/hacker-howto.html He is top hacker in world so there is no doubt in his achievements. I hope this will help you😊. Happy coding 🙌.
24th Oct 2020, 6:10 AM
Vaibhav Kale
Vaibhav Kale - avatar
+ 7
Azhagesanヾ(˙❥˙) C++ is not a true superset of C
24th Oct 2020, 7:12 AM
Maxwell Anderson
Maxwell Anderson - avatar
24th Oct 2020, 8:05 AM
Atoms~⚛
Atoms~⚛ - avatar
+ 7
I suggest python is best for ethical hacking but your question is c/c++ in that case c++ because it is having predefined class which are datatypes that can be instantiated multiple times in the program.✨
25th Oct 2020, 3:28 AM
Rohini S
+ 6
I would think C was better overall, for its low level function and relative simplicity (if needed). Most of the networking in hacking is done by “scripting” languages such as python. But I am welcome to be proven wrong.
24th Oct 2020, 4:00 AM
Aria
Aria - avatar
+ 6
There is no need to fight or call people names guys.
25th Oct 2020, 1:23 AM
Sonic
Sonic - avatar
+ 6
Why anyone not mentioning HTML here? 😄
25th Oct 2020, 10:42 AM
0_O-[Mägár_Sám_Äkà_Nüllpøïntêr_Èxëcéptïön]~~
0_O-[Mägár_Sám_Äkà_Nüllpøïntêr_Èxëcéptïön]~~ - avatar
+ 6
Thomas Both language are important But C is Very important compare to C++ because all source code of Kali Linux are based on C language. If you want moderate the open source code of Kali Linux you must have a deep knowledge of C language. So..... C.... bears a great significance in terms of Hacking. There are lot of Hacking tools that are based on... C.....Keep learning.... Hacking is not a piece of Cake.....You need a lot of knowledge in programming and Networking. For Me....#Hacking is Not a Crime.#.......Moreover #Hacking is An Art of Logic#.....Keep learning and Keep going...... 👍👍👍👍
25th Oct 2020, 6:54 PM
Rashed-Ul Anwar
Rashed-Ul Anwar - avatar
+ 5
Thomas Could you please not insult Jan Markus a uneducated sheep? Insulting is against SoloLearn rules, and I think he is able to sheer himself, so he is very well educated! Thank you in advance fo changing/removing the corrosponding answer...
25th Oct 2020, 1:46 PM
Alexander Thiem
Alexander Thiem - avatar
+ 4
C++ has a steeper learning curve.
25th Oct 2020, 1:19 AM
Sonic
Sonic - avatar
+ 3
C++ is superset of C. C++ includes oop and networking it's better compared to C
24th Oct 2020, 3:39 AM
Azhagesanヾ(✿)
Azhagesanヾ(✿) - avatar
+ 3
You have to use php and python for ethical
24th Oct 2020, 5:48 AM
Aditya rout
Aditya rout - avatar
+ 3
You will need python or scripting
24th Oct 2020, 9:27 AM
Cleen
Cleen - avatar
+ 3
Eskay👑👑 Thats not always true, but I think in this case it is.
24th Oct 2020, 5:15 PM
Aria
Aria - avatar
+ 3
Khlood C++ is based on C not necessarily built upon.
24th Oct 2020, 11:08 PM
Maxwell Anderson
Maxwell Anderson - avatar
+ 3
😕 oh so i guess i should learn how to hack too
25th Oct 2020, 3:19 AM
Jennisha Smith
Jennisha Smith - avatar
+ 3
Ethical hacking is not a skill set to be learnt, but a practice to do better everyday.
25th Oct 2020, 6:28 AM
A B D U L L A H
A B D U L L A H - avatar