C++ is weak. This means you can easily convert types. For example, it's no problem to go from a char to an int in C++.
This image sums it up pretty well.
And to show you just how easy it is, let's convert a string into a boolean (bool array to be more specific, bool array representing binary values to be even more specific).
Run the code to see a string be turned into a bool!
why are all the variables [a letter]_squid
[a letter]_squid
@awesome10 i_squid --> integer_squid :)
@DynamicSquid xD
C++ is WEAK!
C++ is weak. This means you can easily convert types. For example, it's no problem to go from a char to an int in C++.
This image sums it up pretty well.
And to show you just how easy it is, let's convert a string into a boolean (bool array to be more specific, bool array representing binary values to be even more specific).
Run the code to see a string be turned into a bool!
why are all the variables
[a letter]_squid
@awesome10 i_squid --> integer_squid :)
@DynamicSquid xD