|
[x]
Posted via EE Mobile
|
|
| Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again. |
|
|
|
|
Asked by madhav_119 in C++ Programming Language, C Programming Language
Hi,
I have a requirement to chnage the size of the integer dynamically, for ex : i have a variable VAR of type short int, when the value of the VAR goes beyond short int, then i need to chnage the data type to int and then to long. I mean how do i increment the size of the integer variable dynamically..(Is it possible to increase the the size of integer byte wise ?? Is it possible using Structures or Unions ???)
Please help me with the code..
Thanks..
20091111-EE-VQP-89 / EE_QW_2_20070628