What these sign do?
#5

Quote:
Originally Posted by tal_peretz
Посмотреть сообщение
Thank you !
Another question -

I seen in function this -
PHP код:
stock GetDateOffeset(&year,&month,&day,offset
What is the & symbol here ?

Thanks
& returns the adress of a variable so the function can set a value on the given adress.

if you want more info I would like to redirect you to http://www.cplusplus.com/doc/tutorial/pointers/

Quote:

The memory of your computer can be imagined as a succession of memory cells, each one of the minimal size that computers manage (one byte). These single-byte memory cells are numbered in a consecutive way, so as, within any block of memory, every cell has the same number as the previous one plus one.

This way, each cell can be easily located in the memory because it has a unique address and all the memory cells follow a successive pattern. For example, if we are looking for cell 1776 we know that it is going to be right between cells 1775 and 1777, exactly one thousand cells after 776 and exactly one thousand cells before cell 2776.

Reply


Messages In This Thread
What these sign do? - by tal_peretz - 10.07.2011, 21:53
Re: What these sign do? - by Adil - 10.07.2011, 21:56
Re: What these sign do? - by Vince - 10.07.2011, 21:59
Re: What these sign do? - by tal_peretz - 10.07.2011, 22:25
Re: What these sign do? - by Gamer_Z - 10.07.2011, 22:36
AW: What these sign do? - by Tion - 10.07.2011, 22:37
Re: What these sign do? - by Kyosaur - 11.07.2011, 00:52
Re: What these sign do? - by tal_peretz - 11.07.2011, 22:43

Forum Jump:


Users browsing this thread: 1 Guest(s)