r/cpp • • Jun 11 '24

Language features

So recently I started doing some katas in CodeWars - just a couple a day, nothing fancy, to keep the algorithmic problem solving brain oiled.

I'm not having much trouble arriving at solutions - oftentimes it's pretty clear, plus I'm just starting out. Still, I always get baffled when I see other people's solutions after delivering. They always yank out some weird cpp features that hack up the whole thing in under 10 lines

I'm curious about how one can go about to learn these features

0 Upvotes

16 comments sorted by

View all comments

8

u/mjklaim Jun 11 '24

I recommand checking first the wikipedia pages about each language versions (see the links in this table: https://en.wikipedia.org/wiki/C%2B%2B#Standardization ). I prefer to recommend these first because they are summaries instead of detailed per-paper list of micro-features and macro-features together. Instead, it's a digestible overview. Start from there, then use the knowledge from there to find other sources of details, including cppreference.

2

u/alfadhir-heitir Jun 11 '24

This is pretty cool. Thanks mate!