ForLoop

C++ For Loop

In our previous tutorial, we learned about C++ While Loops. Today, we’ll learn about for loops. For loops are different than while loops due to the way they function. This allows one to choose what type of loop to use depending on the problem. For example, while loops are useful for executing statements until a [...]

Read more
WhileLoop

C++ While Loop

In our previous tutorial, we learned about C++ If Statements which introduced us to the idea of control flow and conditions. Today, we introduce the while loop. The While Loop The while loop is another control flow structure that allows the programmer continuously execute a block of instructions until a specific condition is met. Below [...]

Read more
1043923_network_neurons_2

P ?= NP Proof found?

P vs NP Problem has us wondering if there is a way to determine whether we can solve problems quickly in polynomial time. Why? Because solving problems in exponential time isn’t doesn’t always allow us to solve these problems due to the explosive growth when the input starts getting large.

Read more
rubixcube

Rubik’s Cube can be solved in 20 moves or less (or with 35 Google CPU Years)

Apparently God’s Number is 20 and Google was there to witness the discovery. This number represents the number of moves the Rubik’s cube can be solved in. But what is the big deal anyway? This number has been in question and worked on for nearly over 30 years.

Read more
IfStatementExamples

C++ If Else Statements

In our previous tutorial, we learned about C++ input and output to make our programs more interactive. Well, today we are going to learn how to use If Then Else statements to allow us to control the flow of the program. This will allow us to execute code based on a given condition. Below is [...]

Read more
gvimandterminal

C++ Input and Output ( cin, cout )

In our previous tutorial, we learned about the C++ String datatype. Until know, our C++ programs haven’t been that interactive. In this tutorial we are going to fix that. We are going to talk a little more in depth about gathering input from the user and displaying the output to the terminal. C++ Standard Output [...]

Read more
skribitsuggestions

Suggest posts to Talk Binary with Skribit

Want to suggest a post for us? Feel free since I recently added a link to my Skribit profile. This allows any visitors to drop by and leave a suggestion with no registration necessary. I’ll be using this service to keep track of what visitors want to know more of. So if there is something [...]

Read more