Phone: 855.534.6298 Cart

You do not have any courses in your Wish List. Choose from popular suggestions below or continue with Subject or Grade


Product was successfully added to your Cart.

C++ Programming (TCH060)

C++ Programming (TCH060)

Add to WishList

Quick Overview

In this introductory-level high school course, students learn the basics of C++ programming by completing a series of hands-on projects. Using Microsoft Visual C++ Express, students learn how to write code using variables, functions, expressions, flow control statements, loops, and more. Building on these skills, students learn arrays, structs, classes, and other basic programming concepts.

Teacher-Led Course (one-time payment)   $450.00

Monthly Fees: Due Today:

Price as configured: $0.00


Course Overview

In this introductory course, students learn basic programming concepts through a series of hands-on projects. They also learn about software development careers, the software development process, and industry best practices. Using Microsoft Visual C++ 2008, students master the building blocks of programming: functions, variables, loops, arrays, and classes.

Course Outline

Project 1: Hello World

Students learn to include a library, use the standard (std) namespace, insert a main ( ) function, and use the cout command to output text to the screen. They compile and debug a C++ program, and create an .exe of a C++ program.

  • Lab 1: Open and Save a Project
  • Lab 2: Libraries and Namespaces
  • Lab 3: Insert the main ( ) Function
  • Lab 4: Debug Your Program

Project 2: Calculator

Students learn to declare a variable, use a float variable to store a number with a decimal point, and use a cout command to print a variable's value to the screen. They store a variable as the value of another variable, use the endl command to insert a line break in text on the screen, use the cin command to get input from the user, use an int variable to store an integer, and use an if ( ) statement. They indent code to match guidelines, use the - operator to subtract, use the * operator to multiply, and use the / operator to divide.

  • Lab 1: Set Up the Project
  • Lab 2: Variables
  • Lab 3: Input
  • Lab 4: The if ( ) Statement
  • Lab 5: Operators

Project 3: Guess the Number

Students set up a console project, declare two int variables, and add and test an if ( ) statement. They use the > (greater than) comparison operator, the < (less than) comparison operator, and a while ( ) loop to repeat sections of code. They use Visual C++'s Increase Indent button to indent code and the != conditional operator to compare two values. They initialize a variable and use the rand ( ) function to insert a seemingly random number, the srand ( ) function to seed the rand ( ) function, and the % (modulo) operator to limit the span of a random number.

  • Lab 1: Set Up Your Project
  • Lab 2: Comparisons
  • Lab 3: Loops
  • Lab 4: Random Numbers

Project 4: Tic Tac Toe

Students create a new console project, declare a char variable, convert a variable into an array, and store values in an array. They declare and write a function, declare a global variable, call a function, declare a string variable, store a value in a string variable, and comment at the end of a line. They insert an else statement, use a switch case statement, and use a break command. They declare a function that returns a value, use the return command to return a bool value, pass a variable to a function, use a do while ( ) loop, and develop a function that detects eight ways to win the game. They use an if else ( ) statement, the ++ operator to increment a variable, and an int variable to count the number of times a loop runs.

  • Lab 1: Arrays
  • Lab 2: Functions
  • Lab 3: Strings
  • Lab 4: Switch Case Statements
  • Lab 5: Pass a Variable to a Function
  • Lab 6: Develop a Function
  • Lab 7: The ++ Operator

Project 5: Quiz Show

Students use a /* */ comment to write a comment on multiple lines, create a title screen that displays the name of the program and who wrote it, define a class, create an object, declare private variables and a public method of a class. They declare, write, and call a method; use global variables in a method; and initialize variables for a starting high scores list. They use a for ( ) loop to repeat code five times, create an input and output file stream, close and open an input and output file stream, read and write information from a text file, use the -- operator to decrement a variable, and write for ( ) loops with complex conditions.

  • Lab 1: Make a Title Screen
  • Lab 2: Add an Object
  • Lab 3: Write a Method
  • Lab 4: Add a for ( ) Loop
  • Lab 5: Read and Write to a File
  • Lab 6: Add More for ( ) Loops

Project 6: Visual Hello World

Students explore interactive features of the default Windows forms project, create a message box that appears when a button is clicked, change a window's title and background color, change a button's font, resize and move a button, and resize a window.

  • Lab 1: Create a Windows Forms Project
  • Lab 2: Add a Button
  • Lab 3: Design Your Window

Project 7: Organizer Part I

Students create a Windows forms project, add a menu strip, a menu, a menu option, and a dataGridView object. They edit the data grid's properties, add columns to a data grid, create an XML file, and add it to a Visual C++ project. They add XML elements and attributes to an XML file, use the XML namespace, declare and create a DataSet object, and program a data grid to get data from a DataSet object.

  • Lab 1: Add a Menu
  • Lab 2: Add a Data Grid
  • Lab 3: Create an XML File
  • Lab 4: Get Data From an XML File

Project 8: Organizer Part II

Students add a second form to a project, create a form object, use the ShowDialog ( ) command to make the form appear, and add text boxes and labels to a form. They create an Add and a Cancel button, program those buttons as default buttons, and create event handlers for the buttons. They use objects and methods from the XML namespace, store text from text boxes as attributes of an XmlElement object, add an XmlElement object to the end of an XmlDocument object, save the data in an XmlDocument object to an XML file, reload data in a data grid, add a new field to a form, and program the new field to be added to the XML file.

  • Lab 1: Add a Form
  • Lab 2: Design a Form
  • Lab 3: Store and Update Data
  • Lab 4: Add a Field

Additional Information

Course Length 4 Months
Prerequisites N/A
Course Materials No
Course Start Date

Courses Taught by a K12 Teacher

Courses with a teacher have designated start dates throughout Fall, Spring, and Summer. Full-year courses last 10 months and semester courses last 4 months. Courses are taught by teachers in K12 International Academy. For details on start dates, click here.

Teacher Assisted Yes, this course is taught by a K12 International Academy teacher. If you are looking for a teacher-supported option with additional flexibility and year-round start dates, click here to learn about the Keystone School, another K12 online private schooling option.
  1. Be the first to review this product

To use this course, you'll need a computer with an Internet connection.  Some courses require additional free software programs, which you can download from the Internet.

Hardware and Browsers (Minimum Recommendations)

Windows OS

  • CPU: 1.8 GHz or faster processor (or equivalent)

  • RAM: 1GB of RAM

  • Browser: Microsoft Internet Explorer 9.0 or higher, Mozilla Firefox 10.0 versions or higher, Chrome 17.0 or higher

  • At this time our users are encouraged not to upgrade to Windows 10 or Edge (the new browser)


Mac OS

  • CPU: PowerPC G4 1 GHz or faster processor; Intel Core Duo 1.83 GHz or faster processor

  • RAM: 1GB of RAM

  • Browser: Firefox 10.0 versions or higher, Chrome 17.0 or higher (Safari is not supported!)

Internet Connections

It is highly recommended that a broadband connection be used instead of dial up.