arrow_back课程库
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 个模块 · 12 节课 · 6h 15m
用会员解锁lock
课程内容
1 The Box Has a Size 3 节课 · 1h 22m lock
  • play_circle The Same Program, Twice 20分
  • play_circle Cupboard or Fridge: Declaring the Box 22分
  • play_circle Six Boxes, Two of Them the Wrong Size 40分
2 Where the Error Arrives 3 节课 · 1h 23m lock
  • play_circle cin, cout, Semicolons and the Line Break 20分
  • play_circle The Compiler Reads Everything First 18分
  • play_circle Six Breaks, Six Compiler Messages 45分
3 The Port 3 节课 · 1h 55m lock
  • play_circle Porting It Line by Line 25分
  • play_circle The Trailing Space, in a Second Language 45分
  • play_circle Arrays Are Not Lists 45分
4 The Shape of a Contest Problem 3 节课 · 1h 35m lock
  • play_circle Reading the Problem Statement 20分
  • play_circle Getting the Numbers In, Fast 20分
  • play_circle One Bronze-Shaped Problem, Start to Finish 55分
workspace_premium

此课程是会员的一部分。

解锁 每门课里的每一节课——外加无限小组课程和你的 1-on-1 名额。

了解会员
zh