|
From: David M. <ci...@ya...> - 2003-07-31 03:39:50
|
----- Original Message -----
From: "Esteban Valverde" <est...@ho...>
To: "dev-cpp" <dev...@li...>
Sent: Tuesday, July 29, 2003 2:37 PM
Subject: [Dev-C++] Manipulator
> Hi, which is the ostream manipulator to printf the
direction of a varible
?
> In C it can be obtained by the next sentence...
>
> int var;
> ..
> printf("%p", &var);
What is this supposed to do?
(I tried this example program)
#include <stdio.h>
int main()
{
int var;
var = 5;
printf("%p", &var);
return 0;
}
Output:
00405020
>
> bye, Esteban
__________________________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo
http://search.yahoo.com
|