This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

TOGGLE.C(10): error C141: syntax error near '}'

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

Parents
  • In the end, posters often save 30 seconds by not checking the posting instructions. Then they waste minutes for the people who could possibly help. Then they end up having wasted hours or days because they don't get the help that was available.

    In the end, posters often save 30 seconds by .... Then they waste minutes for the many people who could possibly help.

    minutes * many versus to seconds * one

    Erik

Reply
  • In the end, posters often save 30 seconds by not checking the posting instructions. Then they waste minutes for the people who could possibly help. Then they end up having wasted hours or days because they don't get the help that was available.

    In the end, posters often save 30 seconds by .... Then they waste minutes for the many people who could possibly help.

    minutes * many versus to seconds * one

    Erik

Children
No data