Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

C 

Common C++ Mistakes You Need to Avoid

Here are a few mistakes programmers make. Some can be dangerous as a compiler won't detect them.

Give this a read. http://www.learncpp.com/cpp-programming/...ont-catch/

Also, yes I know the learncpp tutorial online has biased views towards how they teach but the link above shouldn't really matter.
I find this to be very true. Thanks for sharing mate.
[Image: dead.gif]
These seem like common sense that any C++ programmer should know. Thanks for the share regardless, keep it up. 🤝
(Mar 18, 2015 12:19 PM)lilmarty10 Wrote:  These seem like common sense that any C++ programmer should know. Thanks for the share regardless, keep it up. 🤝

I kind of thought the same thing and I'm no expert on C/C++. A lot of this is basic syntax and type conversion that applies to any modern language.
This is the best list I've come across personally -> http://www.cprogramming.com/tutorial/common.html
Getting Started: C/C++
[C/C++/.NET/x86 ASM - Automation Programmer]
One stupid mistake that makes me cringe for hours is the division operator.

I tend to mistake it for \ at times.


Possibly Related Threads...
Thread / Author Replies Views Last Post
[Python] by HackersFeb 3, 2025 08:24 AM 0 168 Feb 3, 2025 08:24 AM
Last Post: Hackers
[Python] by CyberErrorAug 6, 2018 09:24 PM 6 142 Aug 6, 2018 09:24 PM
Last Post: CyberError
[C] by BulgarianFeb 28, 2016 02:00 PM 5 207 Feb 28, 2016 02:00 PM
Last Post: Bulgarian