Hi!! I am using u version 5... When i write a structure and build it, it shows that there is a error on this #include<regx52.h> so how will I solve it ?.
Comment out the line.
Don't you think that it would be necessary to know what error it gives you, in order to know how to solve that error?
Normally, error messages are pretty self explanatory - just read them as an English description of the problem, then think what you'd do if someone had told you that verbally...
As you mention regx52.h, you are presumably using C51?
In which case, there is a list of error messages in the manual:
http://www.keil.com/support/man/docs/c51/c51_errors.htm
Look-up your error there ...
This article may be relevant to you
http://www.keil.com/support/docs/1859.htm