zoukankan      html  css  js  c++  java
  • error: stray '343' in program 问题解决

          当我们从网上copy一段代码后,总会出现这个问题。博主在Arduino环境中也出现了,so,这个问题应该是C语言和C++编译器中才会出现的。



    test_int:19: error: stray '343' in program

       銆?銆? char string[25];

       ^

    test_int:19: error: stray '200' in program

    test_int:19: error: stray '200' in program

    test_int:19: error: stray '343' in program

    test_int:19: error: stray '200' in program

    test_int:19: error: stray '200' in program

    test_int:21: error: stray '343' in program

       銆? 銆?itoa(number, string, 10);

       ^

    test_int:21: error: stray '200' in program

    test_int:21: error: stray '200' in program

    test_int:21: error: stray '343' in program

    test_int:21: error: stray '200' in program

    test_int:21: error: stray '200' in program

    exit status 1
    stray '343' in program


    这个错误是由于使用了中文引号或其他全角符号,还有一种就是有中文的空格(这个不容易观察),需调到顶格处,再用tab即可。

    可通过调整格式来解决问题,代码不多的话可以自己在code一遍哦~



  • 相关阅读:
    jar-下载站点
    java-原生爬虫机制源码
    eclipse-插件安装的三种方式
    ivy,ivyde插件-eclipse
    cygwin-介绍-安装
    cygwin-使用介绍
    linux-命令全集
    jquery-遍历each
    SSD固态硬盘的闪存芯片颗粒介绍
    java-测试synchronized使用xxx.class和this使用的区别
  • 原文地址:https://www.cnblogs.com/lanzhi/p/6467337.html
Copyright © 2011-2022 走看看