Avr Error Stray 201 In 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 the workings
Error Stray ' 240' In Program C
and policies of this site About Us Learn more about Stack Overflow the stray 302 in program c company Business Learn more about hiring developers or posting ads with us Ask Ubuntu Questions Tags Users Badges error stray ‘ 342’ in program in c 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 Here's how it works: Anybody
Stray In Program C++
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
Error Stray ' 240' In Program Arduino
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 55.9k15162255 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 some unwanted codes embedded in it. –Shubhangee Nath Jun 27 at 11:06 add a comment|
here for a quick overview of the site Help error stray ‘ 302’ in program error stray ‘ 240’ in program Center Detailed answers to any questions you might have
Stray 342 In Program Arduino
Meta Discuss the workings and policies of this site About Us Learn more about Stack stray /200 in program Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask http://askubuntu.com/questions/272741/how-to-fix-compilation-errors-that-mention-stray-342-and-stray-200 Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Error: stray '\240' in program up vote 3 down vote favorite It is wanted of http://stackoverflow.com/questions/29311672/error-stray-240-in-program me to implement the following function: void calc ( double* a, double* b, int r, int c, double (*f) (double) ) Parameters a, r, c and f are input and b is output. “a” and “b” are 2d matrices with “r” rows and “c” columns. “f” is a function pointer which can point to any function of the following type: double function‐name ( double x ) { … } Function calc converts every element in matrix a, i.e., aij, to bij=f(aij) in matrix b. I implement the calc function as follows, and put it in a program to test it: #include 2012 by cacope I http://www.nerdkits.com/forum/thread/2326/ have followed the instructions in Step 10c and http://www.cplusplus.com/forum/beginner/65332/ 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 -o lcd.o -c lcd.c In in program 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 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: in program c 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 '#' in program c:/winavr-20090313/lib/gcc/../../avr/include/avr/iom168.h:1: error: stray '\6' in program In file included from c:/winavr-20090313/lib/gcc/../../avr/include/avr/io.h:23 error: stray '\277' in program prog.c:1: error: stray '#' in program prog.c:1: error: expected constructor, destructor, or type conversion before '<' token this is the code: 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
#include