Error Stray 341in Program
Contents |
communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss error stray ' 342' in program c++ the workings and policies of this site About Us Learn more about
Stray 342 In Program In Arduino
Stack Overflow the company Business Learn more about hiring developers or posting ads with us Ask Ubuntu Questions stray 200 in program Tags Users Badges Unanswered Ask Question _ Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute: Sign up error stray in program arduino Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top How to fix compilation errors that mention “stray ‘\342’” and “stray ‘\200’”? up vote 5 down vote favorite I wrote this program: #include
Stray 342 Arduino
tried to compile but receiving this problem I have installed even gcc compiler too. zahid@zahid-HP-Compaq-nc6400-EH522AV:~/programs$ gcc first.c -o first1 first.c: In function ‘main’: first.c:4:1: error: stray ‘\342’ in program first.c:4:1: error: stray ‘\200’ in program first.c:4:1: error: stray ‘\234’ in program first.c:4:11: error: ‘Hello’ undeclared (first use in this function) first.c:4:11: note: each undeclared identifier is reported only once for each function it appears in first.c:4:17: error: expected ‘)’ before ‘World’ first.c:4:17: error: stray ‘\’ in program first.c:4:17: error: stray ‘\342’ in program first.c:4:17: error: stray ‘\200’ in program first.c:4:17: error: stray ‘\235’ in program zahid@zahid-HP-Compaq-nc6400-EH522AV:~/programs$ How can I fix this problem? compiling gcc error-handling share|improve this question edited Mar 26 '13 at 18:13 Eliah Kagan 56.1k15162255 asked Mar 26 '13 at 17:56 Zahid 26112 Did you copy this program from some other word processor or document like Libre office or Microsoft Word? –i08in Mar 26 '13 at 18:02 if you have copied the code from somewhere then rewrite the code on your own as the code that you have copied may have som
Sign in Pricing Blog Support Search GitHub This repository Watch 61 Star 920 stray error Fork 237 amperka/ino Code Issues 124 Pull requests 33 error stray ' 342' in program arduino Projects 0 Wiki Pulse Graphs New issue Stray characters in library .cpp file which works
Stray '\343' In Program
fine from Arduino IDE #216 Closed zoltan-fedor opened this Issue Dec 4, 2014 · 1 comment Projects None yet Labels None yet http://askubuntu.com/questions/272741/how-to-fix-compilation-errors-that-mention-stray-342-and-stray-200 Milestone No milestone Assignees No one assigned 1 participant zoltan-fedor commented Dec 4, 2014 I'm trying to compile a program for Sleepy Pi (http://spellfoundry.com/sleepy-pi/setting-arduino-ide-raspbian/), which requires the Sleepy Pi library (https://github.com/SpellFoundry/SleepyPi), but compile fails with "stray characters" (non-ASCI???). Which is strange as the same file works in Arduino https://github.com/amperka/ino/issues/216 IDE, compiles just. I'm copying the file in linux, so should be the same. $ ino build -m sleepypi Scanning dependencies of SleepyPi src/sketch.cpp SleepyPi/SleepyPi.cpp SleepyPi/.AppleDouble/SleepyPi.cpp lib/SleepyPi/.AppleDouble/SleepyPi.cpp:1:2: error: stray ‘\5’ in program lib/SleepyPi/.AppleDouble/SleepyPi.cpp:1:2: error: stray ‘\26’ in program lib/SleepyPi/.AppleDouble/SleepyPi.cpp:1:2: error: stray ‘\7’ in program lib/SleepyPi/.AppleDouble/SleepyPi.cpp:1:2: error: stray ‘\2’ in program lib/SleepyPi/.AppleDouble/SleepyPi.cpp:2:4: error: stray ‘\2’ in program lib/SleepyPi/.AppleDouble/SleepyPi.cpp:2:4: error: stray ‘\2’ in program lib/SleepyPi/.AppleDouble/SleepyPi.cpp:2:4: error: stray ‘\345’ in program lib/SleepyPi/.AppleDouble/SleepyPi.cpp:2:4: error: stray ‘\3’ in program lib/SleepyPi/.AppleDouble/SleepyPi.cpp:2:4: error: stray ‘\266’ in program lib/SleepyPi/.AppleDouble/SleepyPi.cpp:2:4: error: stray ‘\4’ in program lib/SleepyPi/.AppleDouble/SleepyPi.cpp:2:4: error: stray ‘\1’ in program lib/SleepyPi/.AppleDouble/SleepyPi.cpp:2:4: error: stray ‘\265’ in program lib/SleepyPi/.AppleDouble/SleepyPi.cpp:2:4: error: stray ‘\10’ in program lib/SleepyPi/.AppleDouble/SleepyPi.cpp:2:4: error: stray ‘\2’ in program lib/SleepyPi/.AppleDouble/SleepyPi.cpp:2:4: error: stray ‘\20’ in program lib/SleepyPi/.AppleDouble/SleepyPi.cpp:2:4: error: stray ‘\2’ in program lib/SleepyPi/.AppleDouble/SleepyPi.cpp:2:4: error: stray ‘\215’ in program lib/SleepyPi/.AppleDouble/SleepyPi.cpp:2:4: error: stray ‘\2’ in program lib/SleepyPi/.AppleDouble/SleepyPi.cpp:2:4: error: stray ‘\301’ in program lib/SleepyPi/.AppleDouble/SleepyPi.cpp:2:4: error: stray
2012 by http://www.nerdkits.com/forum/thread/2326/ cacope I have followed the instructions in http://ideone.com/pX2nOK Step 10c and when i execute the make file i get the following : make -C ../libnerdkits make[1]: Entering directory `D:/Nerd Kits Info/Nerd Kit Data/Code/libnerdkits' avr-gcc -g -Os -Wall -mmcu=atmega168 in program -o lcd.o -c lcd.c In file included from c:/winavr-20090313/lib/gcc/../../avr/include/avr/io.h:236, from lcd.c:12: c:/winavr-20090313/lib/gcc/../../avr/include/avr/iom168.h:1: error: stray '\4' in program c:/winavr-20090313/lib/gcc/../../avr/include/avr/iom168.h:1: error: stray '\301' in program c:/winavr-20090313/lib/gcc/../../avr/include/avr/iom168.h:1: error: expected identifier or '(' before '/' token c:/winavr-20090313/lib/gcc/../../avr/include/avr/iom168.h:1: error: stray '\337' in program error stray ' c:/winavr-20090313/lib/gcc/../../avr/include/avr/iom168.h:1: error: stray '\346' in program c:/winavr-20090313/lib/gcc/../../avr/include/avr/iom168.h:1: error: stray '\4' in program c:/winavr-20090313/lib/gcc/../../avr/include/avr/iom168.h:1: error: stray '\301' in program c:/winavr-20090313/lib/gcc/../../avr/include/avr/iom168.h:1: error: stray '\337' in program c:/winavr-20090313/lib/gcc/../../avr/include/avr/iom168.h:1: error: stray '\346' in program c:/winavr-20090313/lib/gcc/../../avr/include/avr/iom168.h:1: error: stray '\202' in program c:/winavr-20090313/lib/gcc/../../avr/include/avr/iom168.h:1: error: stray '\250' in program c:/winavr-20090313/lib/gcc/../../avr/include/avr/iom168.h:1: error: stray '\257' in program c:/winavr-20090313/lib/gcc/../../avr/include/avr/iom168.h:1: error: stray '\235' in program c:/winavr-20090313/lib/gcc/../../avr/include/avr/iom168.h:1: error: stray '\307' in program c:/winavr-20090313/lib/gcc/../../avr/include/avr/iom168.h:1: error: stray '\275' in program c:/winavr-20090313/lib/gcc/../../avr/include/avr/iom168.h:1: error: stray '\227' in program c:/winavr-20090313/lib/gcc/../../avr/include/avr/iom168.h:1: error: stray '\31' in program c:/winavr-20090313/lib/gcc/../../avr/include/avr/iom168.h:1: error: stray '\17' in program c:/winavr-20090313/lib/gcc/../../avr/include/avr/iom168.h:1: error: stray '\4' in program c:/winavr-20090313/lib/gcc/../../avr/include/avr/iom168.h:1: error: stray '\6' in program c:/winavr-20090313/lib/gcc/../../avr/include/avr/iom168.h:1: error: stray '\1' in program c:/winavr-20090313/lib/gcc/../../avr/include/avr/iom168.h:1: error: stray '\1' in program c:/winavr-20090313/lib/gcc/../../avr/include/avr/iom168.h:1: error: stray '
char * argv []) { int khoảng cách = 100; / / Đây cũng là một lời nhận xét printf ("Bạn đang% d dặm \ n.", khoảng cách); trở về 0; } ICMgSW5jbHVkZQoKICAvICogxJDDonkgbMOgIGNow7ogdGjDrWNoLiAgKiAvCiAgaW50IG1haW4gKGludCBhcmdjLCBjaGFyICogYXJndiBbXSkKICB7CiAgaW50IGtob+G6o25nIGPDoWNoID0gMTAwOwoKICAvIC8gxJDDonkgY8WpbmcgbMOgIG3hu5l0IGzhu51pIG5o4bqtbiB4w6l0CiAgcHJpbnRmICgiQuG6oW4gxJFhbmclIGQgZOG6t20gXCBuLiIsIGtob+G6o25nIGPDoWNoKTsKCiAgdHLhu58gduG7gSAwOwogIH0= Compilation error #stdin compilation error #stdout 0s 0KB comments (?) stdin copy Standard input is empty compilation info prog.cpp:1:4: error: invalid preprocessing directive #Include # Include ^ prog.cpp:3:3: error: stray ‘\304’ in program / * Đây là chú thích. * / ^ prog.cpp:3:3: error: stray ‘\220’ in program prog.cpp:3:3: error: stray ‘\303’ in program prog.cpp:3:3: error: stray ‘\242’ in program prog.cpp:3:3: error: stray ‘\303’ in program prog.cpp:3:3: error: stray ‘\240’ in program prog.cpp:3:3: error: stray ‘\303’ in program prog.cpp:3:3: error: stray ‘\272’ in program prog.cpp:3:3: error: stray ‘\303’ in program prog.cpp:3:3: error: stray ‘\255’ in program prog.cpp:6:3: error: stray ‘\341’ in program int khoảng cách = 100; ^ prog.cpp:6:3: error: stray ‘\272’ in program prog.cpp:6:3: error: stray ‘\243’ in program prog.cpp:6:3: error: stray ‘\303’ in program prog.cpp:6:3: error: stray ‘\241’ in program prog.cpp:8:3: error: stray ‘\304’ in program / / Đây cũng là một lời nhận xét ^ prog.cpp:8:3: error: stray ‘\220’ in program prog.cpp:8:3: e