• Getting Error c141: Syntax Error near 'void'
    I am getting an error for void main() function.. Please help me. I am using AT89C51.
  • syntax error near 'void'
    #include<reg51.h> #include<lcd.h> #include<uart.h> sbit lamp=P2^0; sbit motor=P2^1; //NOTES: //1: This code may be distributed and modified freely . //2: External Crystal of 11.0592 MHz...
  • 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...
  • error C141: syntax error near 'stTimeStr'
    hi there, i have struct with the problem.I'm writing a code for DS12887,And typedef two structures in the header file.It is normal before writing a function. But now the error C141. I am more confused...