Thank you. I had mistake in writing. it was correct. poin1=&var1;
On Friday, November 1, 2013 9:42 AM, Meir Home wrote:
- > should work
From:a... [mailto:a...] On Behalf Of rahmatoolah abedini
Sent: Friday, November 01, 2013 10:45 AM
Subject: [AVR club] Problem in Pointer
I face with a problem with pointer that I cannot solve it.
I write my project in codevision ver 2.05.3.
Could you help me?
Best regards Ali.
poin1=@var1; ---> Error: Invalid expression
Posted by Cagri Tanriover●November 2, 2013
Why don't you get rid of poin1 as follows? Use var1 directly. poin1 seems
redundant in your code.
Posted by ali a●November 2, 2013
--- In a..., rahmatoolah abedini wrote: >
> Hi everybody.
> I face with a problem with pointer that I cannot solve it.
> I write my project in codevision ver 2.05.3.
> Could you help me?
> Best regards Ali.
> My code:
> char var1;
> char *poin1;
> poin1=@var1; ---> Error: Invalid expression
> while (1);
you should use pint1=&var1 .to solve you error !!!