overloading, l value, derefrence operator
I just wanted to know what overloading, l value, and derefrence operator are because my teacher assigned me to understand these subjects. I tried to search the website for anything about these subjects but found nothing sorry if i missed a post that asked this question.
Re: overloading, l value, defrence operator
Quote:
Originally posted by _WaR_iS_pEaCe_
I just wanted to know what overloading, l value, and defrence operator are because my teacher assigned me to understand these subjects. I tried to search the website for anything about these subjects but found nothing sorry if i missed a post taht asked this question.
Overloading is creating several different functions that share the same name but take different arguments.
An lvalue is a location value -- a place that you can not only get data from but also take the address of, write to, etc.
The dereference operator is the asterisk.
*
It's unary; you use it before a pointer to access the data being pointed to rather than the data's location in memory.
thanks for the definitions
i have to talk about the dereference operator for about 1 minute tommorow in my class and all i have is your defenition can someone help me out? like maybe show me an example so i can make a poster of it.