C/C++ Programming
 
 
 
C/C++ Programming
 
Logic-gate-xor-us
Logic-gate-xor-us
Logic-gate-xor-us

How The XOR Operation Works and How to Use it In C++ to Create a Small Encryptor

Exclusive OR (xor) is probably one of the most used operations in today’s encryption schemes. If you’re into creating some kind of encryption in your programs, you would need to utilize XOR operations, as XOR is a p...
 
C/C++ Programming
 
6a00d83451db8d69e2010536277974970c-320wi
6a00d83451db8d69e2010536277974970c-320wi
6a00d83451db8d69e2010536277974970c-320wi

How to Use C++ Vectors of The Standard Template Library(STL)

As you can understand, the STL vectors is a pretty large c++ subject on its own. Of course, i won’t be covering eveything about them in this post. My intention is to give you a basic insight and in later posts write more ...

 
C/C++ Programming
 
hello-my-name-is
hello-my-name-is
hello-my-name-is

How and Why to Use Namespaces in C++

Namespaces is a very useful C++ feature. The important thing to understand is that namespaces are nothing more than a way to name certain variables, functions, classes and more data structures inside a certain scope name. What ...
 
C/C++ Programming
 
tic_tac_toe
tic_tac_toe
tic_tac_toe

How to Code a Tic Tac Toe Game in C++ Including Artificial Intelligence Opponent

This post is going to be a bit longer than my usual posts. Some years ago, i wrote a small tic tac toe game in c++ (using visual studio as my IDE). I was mainly focusing on creating an artificial intelligent opponent for that g...
 
C/C++ Programming
 
serving temperature
serving temperature
serving temperature

Write a Celcius to Fahrenheit Converter in C++ (and vice versa)

I personally believe that the most important thing in programming is practice. What will make you a better programmer is writing more and more programs. Therefore, i believe that writing some simple programs is pretty important...

 
C/C++ Programming
 
Up-Vector
Up-Vector
Up-Vector

How to Use C++ Vectors of The Standard Template Library(STL)

As you can understand, the STL vectors is a pretty large c++ subject on its own. Of course, i won’t be covering eveything about them in this post. My intention is to give you a basic insight and in later posts write more ...