Okay, if anybody has questions about this one in particular you can ask Christina after class or at a different time.
如果大家有问题想单独问她,可以在下课后或其他时间问她
The idea of a "code walkthrough" refers to the process of walking through your code verbally or visually with or without other people.
代码走查“的概念是单独或者和别人一起,通过查看或讨论学习你们的代码,的一个过程。
It's definitely an opportunity for help, but particularly, as an opportunity to work with someone for just a few moments to help get you unstuck or to get you past some stumbling block that, otherwise, if you struggled with on your own, you might sink or waste even multiple hours on just something that you're not seeing.
这是一个寻求帮助的机会,特别是,作为一个与某人一起工作的机会,他们能帮助你解决问题,或帮助你越过绊脚石,否则,如果你自己单独奋斗,你可能,浪费很多时间在,你不了解的东西上。
So we've seen a lot of this, for instance, in office hours and maybe you too have done or are currently doing this, but there's a problem with writing a statement, like print F, followed by, get int, alone.
我们看过很多这个,例如,在办公时间,可能你们做完了或还在做这个,但是写语句的时候有个问题,就像printf,紧跟着的是GetInt,单独的。
It's reasonable because it's meant TMP for temporary purposes just to call it temp or T-M-P for short, X and I can define temp as -- why don't I set it as equal to X, initially, because now that I've stored X in a separate chunk of memory, I can now change its value and then I can say Y gets, not X, but temp, and so now I've actually swapped these values.
这是合理的,因为它是为,暂时的目的,只要叫它Temp或简称它为,我可以定义temp为--为什么我不把它设定为等于,最初的,因为现在我把X存储在一个单独的内存块中,我现在可以改变它的值,然后我说Y等于,不是X,而是temp,所以现在我交换这些值。
应用推荐