Bold Aesthetic Creative Games

An Indie Game Studio Developing Bold, Aesthetic & Creative Video Games

Subroutines

  • C++ Programming Series: Dynamic Arrays (Part 2, Last)

    Dynamic arrays can be used with functions in exactly the same way as I have told in this post. Just keep in mind that we have to pass the size of the array into the function. Note how I allocated the memory and also, set the value of all the elements in the dynamic array…

    Know More

  • C++ Programming Series: Pointers (Part 3)

    Pointers and Arrays are the same things! This statement might confuse you. How is this possible that pointers and arrays are the same? They never look to be same! This post will clear this point to you. Let’s get started with the code below. What will it print? Will it print the first member of…

    Know More

  • C++ Programming Series: References

    I believe that my series is getting complex with every post being published! This has to be done because we should also be getting more complex and more logical with every topic we discuss. Today’s topic is References. Before proceeding on, let us discuss a few problems with functions. The first one is that we…

    Know More

  • C++ Programming Series: Headers and Prototypes (Part 2, Last)

    In this post, we are going to discuss some confusions that you might have got in the previous post. You might have read #include “func.h” in that post and not #include <func.h>. Actually, both have different meanings! If we type angle brackets (<>) instead of double quotes (“”) for func.h, the compiler will check for…

    Know More

  • C++ Programming Series: Functions/Subroutines (Part 4, Last)

    In the previous post, I confused you into the depth of the functions and my abstractions although, I hope that you got the concept fairly. The hint that I gave you in the previous post is about the order of the functions. If you modified checkRegistrationEligibility() function by adding enterAString() and enterAnInt(), you may have got…

    Know More

  • C++ Programming Series: Functions/Subroutines (Part 3)

    In the previous post, we have played with a function called checkRegistrationEligibility(). It was first, a function of return-type, void and now, bool. What is good with this, is the fact that this function is able to connect. By being connected, we mean that the data available in a limited scope of a function can…

    Know More

  • C++ Programming Series: Functions/Subroutines (Part 2)

    In the previous post, we have made the code in the main subroutine or int main() very short using another subroutine. Yes, int main() at the start is also a function that we are dealing with. But now, we will be dealing with multiple functions rather than one. We did all codes in just one…

    Know More

  • C++ Programming Series: Functions/Subroutines (Part 1)

    In this post, we are going to discuss something called “Functions”. They are also called “Subroutines”. Like arrays, functions or subroutines are very significant, awesome and helpful. These are some of the basic things which we will keep using throughout our entire programming sessions. The first thing to figure out is the definition of a…

    Know More