C vs C++ | Which Should you Learn?
Vložit
- čas přidán 26. 03. 2023
- Start your software dev career - calcur.tech/dev-fundamentals Be notified of new C/C++ course: calcur.tech/c-cpp-newsletter
💯 FREE Courses (100+ hours) - calcur.tech/all-in-ones
⚛️ FREE React Course (20 hours) - calcur.tech/free-react-course
✅ Data Structures & Algorithms - calcur.tech/dsa-youtube
~~~~~~~~~~~~~~~ CONNECT ~~~~~~~~~~~~~~~
✉️ Newsletter - calcur.tech/newsletter
📸 Instagram - / calebcurry
🐦 Twitter - / calebcurry
🔗 LinkedIn - / calebcurry
▶️ Subscribe - calcur.tech/subscribe
👨🏻🎓 Courses - www.codebreakthrough.com
~~~~~~~~~~~~~~ SUPPORT ME ~~~~~~~~~~~~~~
↪ My Amazon Store - www.amazon.com/shop/calebcurry
🅿 Patreon - calcur.tech/patreon-calebcurry
🅖 GitHub Sponsors - github.com/sponsors/CalebCurry
Ⓟ Paypal - paypal.me/calcur - Věda a technologie
Which do you prefer? C or C++?
If you want to join my newsletter to get new C++ content and updates on courses, join here:
calcur.tech/c-cpp-newsletter
bro can you tell me how to get a job in coding
C or C++ ? Rust !
@@evangelosspyromilios5994 I really like C, but all the jobs are in C++
As someone who leaned C in 1983 and C++ a few years later, I'm going to suggest you lean C first and then migrate to C++. This advice is often rejected by teachers. The usual excuse is that newer programmers don't need to learn all the lower level stuff. However C++ was not designed up front with the standard library and sooner or later you will have to dig down into the core of the language, if you really want to get the most out of it. I've seen A LOT of new C++ programmers that get overwhelmed by the language trying to learn everything all at once. Some never really figure out how it all works. Trust me, learn C first, then add on classes, templates, and then the standard library. If you do it that way you will wrap your head around everything much easier. Except for some corner cases C++ is backwards compatible with C, so you lose nothing by learning C first.
I've seen some ppl in comments saying they lost their Time learning C and that they should've learned C++ before. I was about to start C++ but what you described "some never figure out how it all works"
That's me in everything😂
So I'm gonna go with your advice and learn C first, thank you
this comment actually helped me a lot bcs my university is starting with C. I didn't want to lose time with C but my teachers said learning it will help me when I'm learning C++ next year. I wasn't sure about it untill i see this comment cuz every single mf i talked said don't even lose time with C go with C++ but they were not as experienced as you are. thank you, now i can study peacfully. btw sorry for my bad english
But most of the libraries I want to use are C++. Skia / PDFHummus / DirectX. I've already written some C++ OpenGL because all the educational resources are in C++. I tried to avoid C++ and use C but all the resources out there pushed me into C++.
I'm a hobby programmer and retired. I love to to code and I'm also a Dane, so of course I had to learn C++. My wife needed a kind of CRM and I thought I could learn C++, while writing a relation database. It took about 6 months, before my wife stopped to demand features and got rid of known errors. The quality of the code in the beginning and in the end is very different, but I survived. :o)
After a while, I decided to to the big rewrite and about 5000 lines later I found myself writing more and more C like code, but had the job finished.
It's much more intuitive for me to use printf, time instead of cout or chrono with a "million" scope resolution operators.
But I don't need a job and I'm coding for fun and spend my time on logic instead of trying to understand awkward error messages and a endless language.
You probably want to learn C first then C++. Since C is simpler and doesn't have all the C++ nonsense you will have an easier time learning it, probably best to learn C until you are somewhat used to memory management and then C++.
C++ is easier for me since in c there are stupid %n,&n after using scanf
What is hard about that. 4 hours in C++ and I waz like wtf is all thos comvuluded mess.
Caleb, I notice you give pretty good advice. One piece of advice which actually worked out for me was Django. You created a video stating if you want to create a website you can jump right into learning Django and learn Python along the way and you were right. I took your advice and learned Python along the way. Great video.
More videos! I watched your C tutorial and liked it a lot!!!
Thanks for the info brother, always awesome advice
This is the first video of yours that i see, i barely dabbled in c and used c++ once for a robotics class in college, yet you explained the differences in a way that even i understood everything. Thank you, i believe your channel will keep me occupied for the foreseeable future
Thank you Caleb 😊
Great vid, I do miss the part where you explain the cost of all those features like str classes instead of char arrays. E.g. are there perfomance differences?
Nice video caleb 💥
Real chads use the GNU dialect of C to shoehorn object oriented programing in C!
I would say if you want to learn programming learn C and if you want to learn a complex programming language learn C++.😉
What about the performance and speed in terms of C vs C++
Can't go wrong with either one of them
What do you think his favorite color is?
I disagree with this.
First, looking at the TIOBE ranking it is clear that C++ is used a lot less than C. Java, C and Python are the high-ranking languages. C++ is way down the line.
Second, you cannot get a job as a C++ developer by “learning“ C++. This is because learning C++ at a professional level takes at least 10 years, maybe 15. Recruiters know this. That is why there are more job openings for C++ developers. There are very few that can actually use it at a level required in the industry, and so jobs stay vacant. So you will not get any of these jobs unless you have tons of experience with it.
As for object orientation: If you think you need this, you are better off using Java anyway. That is why C++ is dying. All the momentum behind it is gone. C is still going strong.
??????????????????????
Finally, it's been a while
I would suggest a CMake course
🤣🤣
Nice❤
You should mention the more modern features like constexpr, concepts, ranges, attributes, views, the algorithms library
Those are all useless features.
@@developerdeveloper67 the algorithms library is the #1 reason C++ is picked for competitive programming
Constexpr is in C23
C++ or C# do you suggest?
You should let Odysee sync your vids! Odysee is another video platform.
C++
Rust ? ;)
💀
Zig? :))))
Nim ?? ;)))
I am watching this video from India, this is my favorite channel 😍
Learn CHADStack, you'll be a total CHAD
Tag me
it's 21st century. learn Zig, a modern C successor.
Learn machine code and microcode.😅
Should we even bother with coding after chat gpt 4
nah
Yes if you intend to get a degree, No if you intend to attend a bootcamp to get an easy job.
An the first to view
Neither. Learn Rust. ;)
And have no job
💀
yep yep yep Rust Rust Rust Only Rust
You gotta love how it took me 10 seconds to find this lol. I'm one of like 3 people who doesn't like Rust that much. I also like being employed
Learn both and Rust.
So C++ it is. I suppose I can learn C afterwards.
The most brilliant, most influential, and smartest computer scientists (Ken Thompson, Dennis Ritchie, Linus Torvalds) DISLIKE C++
@@makara2711 that’s just too bad. I haven’t gone far with C++. Not that it’s very hard for me to learn since I have already coded in Java. However, Python seems to be more popular for AI and Data Science.
@@makara2711I mean everyone has their own personal preferences.