Programming with C++

Overview

This 2018 summer learning of C++ was a very intensive program as our members had less than two months to master the fundamentals of textual programming and concepts of object oriented programming. This was primarily a self-learning process and hence required all to have the discipline and drive to finish all the courses.

We used the Youtube C++ tutorials by "the new boston" as the course materials. You should also read C++ Primer Plus (6th Edition) so that you can learn computer programming systmatically and build a solid foundation.

Learning C++ was entirely self-paced. No coaching or group lab time were offered. The coaches strongly recommended that members pair up with someone to make the learning more fun. Let the fun start!


Sample Quiz Questions

What's the outcome of the following code:

#include <iostream>
using namespace std;

int main()
{
int numbers[5] = {257, 689, 34, 26, 183};
int total = numbers[1] + numbers[4];
cout << total << endl;
}

A. 183
B. 689
C. 257
D. 872

True or False:

When you ou assign a new value to an existing variable the computre will keep the old value and use a new piece of memory for the new value.

A. True
B. False

Which of the following can be overloaded:

A. Object
B. Functions
C. Operators
D. Both B and C

IDE - Code::Blocks

For the time being we recommend Code::Blocks as the IDE (Integrated Development Environment) for your C++ learning. It has all the functions you need to compile and run your programs and it's free. Previously we tried to use CLion but were having trouble getting free student licenses from the vendor.

New boston's Youtube tutorials use Code Blocks as the IDE. Please make sure that you download the right installation package for C++. See the highlighted downloadable file in the screenshot below. It's located at http://www.codeblocks.org/downloads/26. Also please follow the instructions in the first youtube tutorial.