C:\KEIL\C51\INC\MSDELAY.H(6): error C141: syntax error near '}'
Discussion in "General help Guidance and Discussion" started by shyam Aug 18, 2010.
Wed Aug 18 2010, 07:38 pm
void msdelay(unsigned int x) { unsigned int i,j; for(i=0;i<x;i++) for(j=0;j<922;j++) }
i was in creating a header for milli seconds delay why this error
Wed Aug 18 2010, 10:11 pm
you are missing a semicolon.
void msdelay(unsigned int x) { unsigned int i,j; for(i=0;i<x;i++) for(j=0;j<922;j++); //<<here }
Wed Aug 18 2010, 10:13 pm
try not to create multiple threads for problems like this.. use any current thread for it. Please be careful in future
[Topic moved to General help Guidance and Discussion]
[Topic moved to General help Guidance and Discussion]
Thu Aug 19 2010, 08:09 am
ok thanks im a keil beginner
more over the editor view is very small in keil
im dying to find out small mistakes,u can now delete this topic
il follow ur sugg thanks very much
more over the editor view is very small in keil
im dying to find out small mistakes,u can now delete this topic
il follow ur sugg thanks very much
Thu Aug 19 2010, 03:08 pm
Hi,
After Refreshing 'C' skill i think this link may helpful for you.
http://www.embeddedcraft.org/keilsetup.html#top
--
Gurpreet Singh
IMBUENT TECHNOLOGIES PVT.LTD.
(INDIA)
www.imbuent.com,www.embeddedcraft.org
" A person who never make mistakes,never try new things"
After Refreshing 'C' skill i think this link may helpful for you.
http://www.embeddedcraft.org/keilsetup.html#top
--
Gurpreet Singh
IMBUENT TECHNOLOGIES PVT.LTD.
(INDIA)
www.imbuent.com,www.embeddedcraft.org
" A person who never make mistakes,never try new things"
[ Edited Thu Aug 19 2010, 05:34 pm ]
Powered by e107 Forum System