|
From: Daniel G. <sp...@ho...> - 2003-07-30 08:12:58
|
I know with iostream it is cout << &var;
but not sure if ostream is different. Could maybe has
ostream OsObj;
OsObj << &var;
But I've not tried it.
>From: "Esteban Valverde" <est...@ho...>
>To: "dev-cpp" <dev...@li...>
>Subject: [Dev-C++] Manipulator
>Date: Tue, 29 Jul 2003 15:37:39 -0300
>
>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);
>
>bye, Esteban
>
>
>
>-------------------------------------------------------
>This SF.Net email sponsored by: Free pre-built ASP.NET sites including
>Data Reports, E-commerce, Portals, and Forums are available now.
>Download today and enter to win an XBOX or Visual Studio .NET.
>http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
>_______________________________________________
>Dev-cpp-users mailing list
>Dev...@li...
>TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm
>https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
_________________________________________________________________
On the move? Get Hotmail on your mobile phone http://www.msn.co.uk/msnmobile
|