Effective Programming in C and C++

View Course Materials

Buying via our links supports this free directory · Affiliate disclosure.
Course facts
  • Payment: Free, no certificate
  • Credits: Non Credit
  • Learning style: Self-paced, start anytime
  • Resources: Lecture Notes; Problem Set Solutions; Problem Sets; Programming Assignments with Examples
MIT OpenCourseWare details
  • As taught in: January IAP 2014
  • Department: Electrical Engineering and Computer Science
Created byMIT
Available onMIT OpenCourseWareMIT OpenCourseWare

Course Details
Learning Style

Start Anytime

Level

All Levels

Study Mode

100% Online

Outcomes
Academic Credits

Non Credit

Price & Terms
Pricing Model

Free Content (No Certificate)

Technical
Content Medium

Text Based

Specification
Access

Free Access

Academic Level

Undergraduate

SKU: effective-programming-c-c Category: Brand:

A fast introduction to C and C++: memory management, object-oriented programming and an N-body simulation project, with test data and solutions.

At a glance
LevelAll Levels
Taught byAndre Kessler
AccessFree access
FormatText Based
As taught inJanuary IAP 2014
DepartmentElectrical Engineering and Computer Science
Add your review
Add to wishlistAdded to wishlistRemoved from wishlist 0
Add to compare

C and C++ remain useful for classes, research and jobs, and this fast four-week class teaches both to programmers who know another language. It covers memory, data structures and floating-point arithmetic in C, then object-oriented C++, the STL and design patterns. Students write libraries, review one another’s code and build an N-body gravity simulation with OpenGL as a final project.

What You Will Achieve

  • Manage memory and debug programs in C
  • Write object-oriented C++ using abstraction, inheritance and the STL
  • Apply unit testing and code review to a project
  • Build a larger C++ project with makefiles and third-party libraries


Program Overview

Introduction to C

The first lectures concentrate on the lower level.

  • Welcome to the memory jungle
  • Data structures and floating-point arithmetic
  • Secure programming in C

Object-Oriented C++

The next lectures add higher-level design.

  • Transition from C to C++
  • Abstraction, inheritance, STL
  • Design patterns

Project Practice

The last lectures prepare you to build something larger.

  • Unit testing, third-party libraries, code review
  • N-body problem
  • OpenGL, makefiles, large projects

Course Completion


Job Outlook

These skills apply to software development and computational research, where C and C++ are used for fast programs and legacy systems.


Our take

Good for: Programmers who are comfortable in another language such as Python or Java and want a fast entry to C and C++.

Keep in mind: This is not a first programming class. Code reviews and the group project need other people, and it describes C++11 as new, so check current language features. One problem has no sample solution.

Bottom line: An efficient crash course in C and C++, with test data and sample solutions that make it good for self-study.

Frequently Asked Questions

Which programmers does the syllabus advise against taking it?

Those who have worked on several large C++ projects at companies, who might make better teaching assistants, and those with no programming coursework at all.

What do the assignments include?

Floating point, matrix manipulation, a transposition cipher, linked list libraries in C and C++, minimum spanning tree and a rational number library, with test data.

How do the code reviews work?

You review 30 to 100 lines of someone's code, adding comments and a summary of main points, and use the C++ coding standards provided as a guide.

User Reviews

0.0 out of 5
★★★★★
0
★★★★★
0
★★★★★
0
★★★★★
0
★★★★★
0

No reviews yet. Be the first to review this course.

There are no reviews yet.

Write your review

Reviews can only be posted by registered learners. Log in, then you will return here to post.

×

    Report this page
    Effective Programming in C and C++
    Effective Programming in C and C++
    LiveTalent
    Logo
    Compare items
    • Total (0)
    Compare
    0