GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Embed Notice

HTML Code

Corresponding Notice

  1. Embed this notice
    1日24時間睡眠健康法 (yakitama@mstdn.yakitamago.info)'s status on Thursday, 19-Jan-2023 08:36:59 JST1日24時間睡眠健康法1日24時間睡眠健康法
    • かき@GNUsocialJP

    #define hoge "world"

    したときに

    printf("%s", hoge);

    はできないことが知られている。%s はポインタで示された先のメモリを文字列としてフォーマットする記法のはずだね。ここで hoge はポインタではなく "world" という文字列でしかなく、プリプロセッサがそれを置き換えてしまうので、コンパイル時に文法エラーが出るんじゃないかな。

    In conversationThursday, 19-Jan-2023 08:36:59 JST from mstdn.yakitamago.infopermalink
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.