senooken JP Social
  • FAQ
  • Login
senooken JP Socialはsenookenの専用分散SNSです。
  • Public

    • Public
    • Network
    • Groups
    • Popular
    • People

Conversation

Notices

  1. 7of9(0x70f9=28921) (7of9@qiitadon.com)'s status on Wednesday, 03-Oct-2018 10:59:21 JST 7of9(0x70f9=28921) 7of9(0x70f9=28921)

    #coding
    #history

    2つの項目の処理だったがの3つの項目の処理に変更されたとする。

    一部の処理は2つの項目の処理のまま。

    enum { xxxK, xxxL, xxxM }

    以下のコードから何が分かるか?

    for(idx=xxxK; idx< xxxL; idx++) {

    }

    推測
    A. 上記ではxxxMは使わない
    B. 上記ではxxxMを入れるはずだったが、入れ忘れた

    xxxMを使わない場合は下記のようにすると将来悩まないかも。

    for(idx=xxxK; idx< xxxL; idx++) { // xxxMは処理に入れない

    }

    In conversation Wednesday, 03-Oct-2018 10:59:21 JST from qiitadon.com permalink

    Feeds

    • Activity Streams
    • RSS 2.0
    • Atom
    • Help
    • About
    • FAQ
    • TOS
    • Privacy
    • Source
    • Version
    • Contact

    senooken JP Social is a social network, courtesy of senooken. It runs on GNU social, version 2.0.2-beta0, available under the GNU Affero General Public License.

    Creative Commons Attribution 3.0 All senooken JP Social content and data are available under the Creative Commons Attribution 3.0 license.