List:General Discussion« Previous MessageNext Message »
From:Paul DuBois Date:June 28 2002 3:22pm
Subject:Re: Storing adresse
View as plain text  
At 16:57 +0200 6/28/02, Poizot Emmanuel wrote:
>Hi,
>In a c++ program, using MySQL++ API, I would like to store at run time in a
>table, the adresse of pointers variables and pointers of functions.
>As it can be 32 bits and/or 64bits depends of the system, may I store a
>pointer in a column defined as BIGINT UNSIGNED ?

Yes, although you should be careful if you plan to do any arithmetic
with values that might cause overflow.

>Thanks
>--
>
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>Emmanuel POIZOT
>CNAM/INTECHMER
>B.P. 324
>50103 Cherbourg Cedex
>Tèl : 33 (0)2 33 88 73 42
>Fax : 33 (0)2 33 88 73 39
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Thread
Storing adressePoizot Emmanuel28 Jun
Re: Storing adressePaul DuBois28 Jun