C compile errors: stray '\200' in program and expected ')' before numeric constant

后端 未结 4 2067
一整个雨季
一整个雨季 2021-01-18 07:38

I copied this program and am having trouble with the void downFrequency function (I think). This is for Arduino Uno. Here are the compiler errors: Compiling \'MY_dds\' for

4条回答
  •  心在旅途
    2021-01-18 07:58

    Simple copy always mess up the source code.

    One can check the "stray" problem via cat -A yoursrc.c

    To me, I usually reformat the code by vim in two steps.

    vim yoursrc.c
    :%!tr -cd '[:print:]\n'
    

    Then compile gcc yoursrc.c

提交回复
热议问题