arrow_backLibrary
KORRA.CODES

From Python to C++ — and Why the Difference Matters

You already have a working Python program. You are going to write it again in C++, line for line, and reproduce its worst bug on purpose. Along the way you find out why the compiler wants to know the size of the box before you put anything in it, and why the error now arrives before the program has even run.

4 modules · 12 lessons · 6h 15m
Unlock with the membershiplock
Course contents
1 The Box Has a Size 3 lessons · 1h 22m lock
  • play_circle The Same Program, Twice 20m
  • play_circle Cupboard or Fridge: Declaring the Box 22m
  • play_circle Six Boxes, Two of Them the Wrong Size 40m
2 Where the Error Arrives 3 lessons · 1h 23m lock
  • play_circle cin, cout, Semicolons and the Line Break 20m
  • play_circle The Compiler Reads Everything First 18m
  • play_circle Six Breaks, Six Compiler Messages 45m
3 The Port 3 lessons · 1h 55m lock
  • play_circle Porting It Line by Line 25m
  • play_circle The Trailing Space, in a Second Language 45m
  • play_circle Arrays Are Not Lists 45m
4 The Shape of a Contest Problem 3 lessons · 1h 35m lock
  • play_circle Reading the Problem Statement 20m
  • play_circle Getting the Numbers In, Fast 20m
  • play_circle One Bronze-Shaped Problem, Start to Finish 55m
workspace_premium

This course is part of the membership.

Unlock every lesson in every course — plus unlimited group sessions and your 1-on-1 credits.

See the membership
en