We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
i am facing error C141: syntax error near '}'
my program is given below:
#include<reg51.h> void main ( ) { int x; while (1) { P1 = 0x00 ; for (x=0 ; x<=5000 ; x++) P1 = 0xFF ; for (x=0 ; x<=5000 ; x++) } }
any one can help me how to solve it
Sounds like most of this comes as a result of the confusion between me and the morgan guy but for all intent and purposes, let me explain where I get this from, so you understand I wasn't making anything up . . .
If you bothered to actually look, you would find that I only responded to posts by you and others that had already gone down that route, and I did so in order to correct some factual mistakes in those posts.
While this is true, I saw it as you jumped in only when people were already heading down that direction. It seemed like you came out of nowhere to just jump on people over the way they post and were never interested in helping out with the original code.
That's probably a bit unfair of an analysis on my part but that was my reaction to it. Sorry about that.
Nobody said anything like that.
Maybe ass was the wrong word but the point of the statement is that I was being made to look like the jerk for defending my statements about nitpicking (which, as you mentioned was a result of my posts looking like Morgan's), more by Erik than yourself.
... nor that. The latter you said yourself, but nobody disclaimed your experience as a programmer because of it.
You see, that's the difference: we actually do, to a high level of certainty, from experience that you apparently don't have.
This statement right here implied inexperience (though I guess in context to the forums themselves, I looked too far into this regarding my own embedded experience). So that was a misunderstanding on my part, I wasn't trying to make anything up.
So, long story short, a series of misunderstandings and it all headed off on some complete unnecessary tangent that distracts from the original posts. Though, to be fair, in all the time this has taken, the OP still hasn't bothered to come in here and follow up with any updates so I guess it's all a moot point. Unless the Nirav person is the same as the Morgan guy . . .