Learn C++ and Create Shapes with 2D Arrays and Nested Loops

Visit Tutorial Page ( Report)
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 FREE 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: Box Shape Letter "X" Shape Plus "+" Sign Shape Boxed Letter "X" Shape Boxed Plus "+" Sign Shape CheckerBoard Shape 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. Who is the target audience? The course will be most beneficial for self taught programmers or college students studying C++ language. The course shows a solution to a specific exercise, and you are encouraged to try to find the solution before refering to solution presenting in this course
  • Overview of the project
    00:08:40
    • Project overview, requirements, and creating functions for our project
      00:08:40
  • Before we can draw the patterns...
    00:19:21
    • Reading from the input file
      00:11:10
    • Validating input
      00:08:11
  • Drawing the patterns
    00:43:38
    • Drawing the Box pattern
      00:09:23
    • Drawing the "X" pattern
      00:07:57
    • Drawing the Plus Sign pattern
      00:05:07
    • Drawing the Boxed "X" pattern
      00:06:12
    • Drawing the Boxed Plus Sign pattern
      00:06:11
    • Drawing the CheckerBoard pattern
      00:08:48
  • Final Source Files
    00:00:02
Write Your Review

Reviews