Skip to content

Commit

Permalink
Create dev.md
Browse files Browse the repository at this point in the history
  • Loading branch information
95-sanya-95 authored Jun 28, 2024
1 parent 9d11a18 commit 1e16893
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions problem-of-the-day/day27/dev.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Dev Topic of the Day

## C++ templates

C++ templates let you write functions and classes that work with different data types. They use placeholders like `typename` or `class` to define these generic parts. When you use a template with a specific type, the compiler creates a version of the function or class tailored for that type. This helps avoid repeating code and ensures everything is handled correctly for each type you use.

**Resources:**
- [MyGreatLearning - Templates in C++](https://www.mygreatlearning.com/blog/templates-in-cpp/)
- [cppreference.com - C++ Templates](https://en.cppreference.com/w/cpp/language/templates)
- [YouTube - Introduction to C++ Templates](https://www.youtube.com/watch?v=I-hZkUa9mIs&pp=ygUNYysrIHRlbXBsYXRlcw%3D%3D)

0 comments on commit 1e16893

Please sign in to comment.