Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页

    如何在.c等文件中添加中文注释?

    V Series
    3
    14
    5426
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      cavert121 LV 5 last edited by

      目前我不能直接输入中文注释,只能粘贴,切换输入法不起作用。是不是哪里需要设置一下?

      whycan 1 Reply Last reply Reply Quote Share 0
      • whycan
        whycan晕哥 LV 9 @cavert121 last edited by

        @cavert121
        ubuntu ? 什么编辑器?

        C 1 Reply Last reply Reply Quote Share 0
        • C
          cavert121 LV 5 @whycan last edited by

          @whycan 对的,ubuntu. 晕哥,我是不是需要设置哪里一下?

          whycan 1 Reply Last reply Reply Quote Share 0
          • whycan
            whycan晕哥 LV 9 @cavert121 last edited by

            @cavert121
            是不是没有安装中文输入法呢?

            C 2 Replies Last reply Reply Quote Share 0
            • C
              cavert121 LV 5 @whycan last edited by

              @whycan 只是在ububtu里无法输出中无法输出中文,windows中正常

              1 Reply Last reply Reply Quote Share 0
              • C
                cavert121 LV 5 @whycan last edited by

                @whycan 在ubuntu 中即使切换成中文五笔,输出的依然是英文。

                1 Reply Last reply Reply Quote Share 0
                • whycan
                  whycan晕哥 LV 9 last edited by

                  @cavert121
                  试一试搜狗拼音

                  C 1 Reply Last reply Reply Quote Share 0
                  • C
                    cavert121 LV 5 @whycan last edited by

                    @whycan 试了微软拼音也不行

                    whycan 1 Reply Last reply Reply Quote Share 0
                    • whycan
                      whycan晕哥 LV 9 @cavert121 last edited by

                      @cavert121
                      用什么编辑器?

                      C 1 Reply Last reply Reply Quote Share 0
                      • C
                        cavert121 LV 5 @whycan last edited by whycan

                        @whycan 照着知乎上 https://zhuanlan.zhihu.com/p/529892064 这篇文章给ubnutu安装了中文拼音输入法。然后只是界面变成中文了,依然无法输入中文😵 。不管是用什么编缉器,哪怕是新建个文件,文件名也是无法输入中文。

                        whycan 1 Reply Last reply Reply Quote Share 0
                        • whycan
                          whycan晕哥 LV 9 @cavert121 last edited by

                          @cavert121
                          你的Ubuntu版本呢?

                          C 1 Reply Last reply Reply Quote Share 0
                          • C
                            cavert121 LV 5 @whycan last edited by

                            @whycan 就是文档中的20.04版本

                            1 Reply Last reply Reply Quote Share 0
                            • WhycanService
                              WhycanService LV 8 last edited by

                              可以百度上搜一下Ubuntu安装中文输入法的教程,这个是属于Linux的基本使用方法教程很多的。另外考虑到编码问题不建议使用中文注释

                              C 1 Reply Last reply Reply Quote Share 0
                              • C
                                cavert121 LV 5 @WhycanService last edited by

                                @whycanservice 我就是因为安装了中文输入法,然后报奇奇怪怪的错误代码,只好重新安装Ubuntu了😧 建议不要再考虑什么中文注释了。

                                1 Reply Last reply Reply Quote Share 0
                                • 1 / 1
                                • First post
                                  Last post

                                Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

                                行为准则 | 用户协议 | 隐私权政策