Every other 的用法及其他

本文详细解析了英语短语“everyother”的含义及其在句子中的使用。通过具体例子说明了其既可以表示‘每隔一个’也可以表示‘其余的’含义,并讨论了其在不同上下文中的翻译方法。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

有这样一句话“Every other class agreed to my proposal.”,读到这句话我们都知道“every other”起着十分重要的作用,这句话的意思到底是同意还是不同意?如果同意,有多少人同意?

我们都知道“every other”表示“隔一个”,“every other line”和“every other day”分别是“隔行”与“隔天”的意思。如果依照这个意思,那原句就翻译为“同学中每隔一个人同意我的建议。”意思指有一半人同意我的建议,但这句话要表达的并非这个意思。

“Every other”除了上面的意思之外,还有“其余的”意思,例如“Every other girl in the class received a gift but me.”(除了我以外,班上所有其他女孩都收到了礼物。)“Jerry was late but every other boy arrived in time.”(杰瑞迟到了,但其他男孩都来得很及时。)因此,开头的原句应该翻译为“其余的同学都同意我建议。”

在英语中,分别指两个事物,我们用“one, the other”,“every other”则指“两个中的一个”,即“隔一个”,所以“every three/four”是“每三/四个”的意思。例如“The postman came only every other four days.”(邮递员要每四天才来一次。)然而,“every”还有“所有的”意思,有时也起到限定词的强调作用,例如“He knows every single person in the school.”(他认识学校里的所有人。)“every now and then”中的“every”也是一种强调。

【转载自】http://cn.stevenlichen.com/archives/794

  •  every other
     每隔…的
     Take this medicine with warm water every other day.
     这药每隔一天随温水服一次。
  •  every other
     所有其他的人(或物)
     "He was absent, but every other man was present and contributed their shares."
     "只有他缺席,所有其他的人都到了并贡献了他们自己的一份力量。"
### CAPL Language While Statement Usage In the context of CAPL (CAN Access Programming Language), a `while` loop is used to repeatedly execute a block of code as long as a specified condition evaluates to true. The general form of a `while` statement in CAPL follows standard programming conventions but has specific applications within automotive diagnostics and testing environments. The syntax for a `while` loop in CAPL looks like this: ```c while (condition) { // Statements that will be executed as long as 'condition' remains true. } ``` For instance, consider an example where one wishes to monitor messages on a CAN bus until a particular message ID appears or some other event occurs. Here’s how such logic might look using a `while` loop[^1]: #### Example: Monitoring Messages Until Specific Event Occurs ```c void MonitorMessages() { int foundMessage = 0; while (!foundMessage) { msleep(10); // Wait briefly before checking again if (/* Condition indicating desired message received */) { foundMessage = 1; } // Other diagnostic checks can also occur here... } } ``` This function continues running indefinitely—checking every ten milliseconds—if no target message arrives (`!foundMessage`). Once the targeted message does arrive, setting `foundMessage` to `1`, it exits from the loop immediately after completing its current iteration. Another common use case involves iterating over elements in arrays or lists when performing operations based upon certain criteria met by individual items during each pass through the collection. #### Important Notes About Using While Loops in CAPL - Ensure conditions inside loops eventually become false under normal operation scenarios to prevent infinite looping situations which could cause program instability or unresponsiveness. - Incorporate appropriate delays between iterations with functions like `msleep()` whenever necessary to avoid overwhelming system resources unnecessarily due to overly rapid cycling without pause periods built-in. --related questions-- 1. How do you implement conditional branching structures such as `if...else` statements in CAPL? 2. Can you provide examples demonstrating proper utilization of `for` loops within CAPL scripts? 3. What are best practices regarding error handling mechanisms available in CAPL programs? 4. In what ways can `switch-case` constructs enhance control flow management in CAPL coding?
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值