Skip to content
cppdev

All things programming

GitHubYoutubeTeespringInstagramWordPress
  • Home
  • Blog
  • About
  • Contact
cppdev

All things programming

  • About
  • Blog
  • Contact
  • Home

Concepts vs SFINAE: Compilation time comparison

2 Comments / c++ topics / By cppdev

So, I’ve first seen this as a question on reddit and I found it very interesting. I mean, it’s something that I’ve never asked myself and always thought that Concepts are, by default, faster. After all, Concepts are new additions to the language and SFINAE implementations are more or less, hacks. By the way, if …

Concepts vs SFINAE: Compilation time comparison Read More »

Name Lookup in C++

Leave a Comment / c++ topics / By cppdev

How many times have you used “std::cout” until now? I bet the answer is “a lot of times”. Did you ever think about how the “cout” ostream object is actually found by the compiler? I mean, of course it is in the “iostream” header file, but how does the compiler find it? Also, what if …

Name Lookup in C++ Read More »

A detailed overview of Templates

2 Comments / c++ topics / By cppdev

I wrote the previous post in which I provided you all, a little bit of introduction into C++ templates. I also mentioned that, if the topic is well received, I will probably write more articles on this topic. Well, here it is. In this post I’m going to give you a detailed overview on C++ …

A detailed overview of Templates Read More »

An introduction to Templates

1 Comment / c++ topics / By cppdev

The template is one of the most powerful tool to have in your toolbox as a C++ developer. I feel like C++ templates are often misunderstood, misused or overused(when a non-template approach would be just as useful and maybe easier to read and understand). Also, they are often avoided, due to lack of understanding. There …

An introduction to Templates Read More »

The 3 software tools that C++ developers should know

Leave a Comment / tools / By cppdev

As a C++ developer, I find it quite important to know about things like: “is this code faster?”, “what happens with this code when you use other compiler version?”, “what does the compiler generate for me?” etc. Even if you don’t feel the same as me and you don’t deem necessary to know all of …

The 3 software tools that C++ developers should know Read More »

Simple Tic Tac Toe game in C++

1 Comment / c++ topics, implementation / By cppdev

A while ago, I’ve posted this article about the implementation of a TicTacToe game in C++. However, the implementation there is quite bad and hard to understand(and also, it seems that there are some bugs). That’s why I have come up with this article in which I will show you a better implementation of the …

Simple Tic Tac Toe game in C++ Read More »

Run time improvements

Leave a Comment / Uncategorized / By cppdev

What is the run time ? Well, that is pretty simple. Actually, the run time represents the span of time from when an action starts until that action ends, while your application is running.This may also be known as CPU time: how much it takes for the CPU to perform the action. Let’s say that …

Run time improvements Read More »

Test Cases using GTest (Unit Testing)

1 Comment / project from scratch / By cppdev

Hi all,As the tradition goes on this blog, you can also find this post in video format with practical example on my YouTube channel (/c/cppdev), right here(second part of the video) and here. Introduction This post will cover a minimal example on how you can create UTs (Unit Tests) for your code and how you …

Test Cases using GTest (Unit Testing) Read More »

GTest and GMock integration with CMake

1 Comment / c++ topics, project from scratch / By cppdev

Testing the code… What is that ? Well… We all know that guy that always tests it’s code in production. We don’t want to be “that guy”. Before starting this out, I want to tell you that you can also find this information in video format on my YouTube channel (/c/cppdev), right here. This post …

GTest and GMock integration with CMake Read More »

Tic Tac Toe game in C++

6 Comments / c++ topics, implementation / By cppdev

There is also a newer article with a better implementation here, so after you read this don’t forget to check the other one to see how it differs. After the posts related to devops work, with all the git and github and build systems stuff, it’s time for us to get a little bit into …

Tic Tac Toe game in C++ Read More »

Posts navigation
← Previous Page 1 2 3 Next Page →

Copyright © 2023 cppdev | Powered by Astra WordPress Theme

cppdev
Proudly powered by WordPress Theme: Astra.
Go to mobile version
 

Loading Comments...