Dive into C++ and its multidimensional arrays and loops, and learn how to create various interesting patterns in this classic college exercise.
Multidimension arrays can be difficult to understand for many students. But once the concept is understood, knowing how to use them is a breeze.
This course helps you on your quest of understanding multidimensional arrays in C++. You'll learn how to use them within loops effectively and how to manipulate array indexes to create variety of shapes:
All these shapes will be create using an text input file, and printed into a text output file, giving you the additional practice of C++ language: C++ Input and output (C++ I/O), Input Validation and Decision structuring.
So if you are stuck with C++ arrays, need a little refresher or hint, or just want to compare your solution with other programmer's approach, this short course is perfect for you.
We go over project requirements and use prototype C++ functions to make the basic structure of our program.
C++ Input and Output (C++ I\O) is important to master, so we go over reading from the text file, splitting the input elements and assigining the read values to variables.
Drawing the letter X shape. I'll explain how to view this pattern in our code in terms of C++ array indexes.
The easiest shape, but it still requires some planning and array index manipulation to pull this off.
Two shapes in one! The letter "X" inside of a Box. We'll be manipulating our C++ multidimensional array extensively in this short video.
Another "boxed" shape. Plus Sign symbol inside of a box. Should be interesting...
The classic shape, perfect for practicing our newly acquired skills with C++ mutidimensional arrays and loops
All shapes neatly in one file.
I am a professional computer programmer for a national insurance company. I am versed in variety of programming languages, technologies, and frameworks. Currently using mostly SQL and .Net.
I have a Bachelor's Degree from City University of Seattle, majoring in Business Administration.
I first came in contact with programming back in the good 'ol days of Visual Basic 6 and Visual Basic for Applications. Manipulating Access databasea was so much fun!
I moved onto Web development in early 2000's, using HTML and CSS, later added PHP. It was then when I realized I really enjoyed the coding of the back end much more than the design part...and that joy of coding stayed with me ever since.
I LOVE coding, and I LOVE doing exercises and projects in my free time. I am hoping my course(s) help you to better understand the programming principles and give you a good starting point for your further adventure in computer programming,