M
manish
we have avariablr
int bps; // bps determined during run time
-
-
-
how can we make conditional declaration of a variable y
we want appropriate declaration depending upon bps.
eg. short y; // for bps = 16
int y; // for bps = 32
long y; // for bps = 64
this is similar to Templates in C++..
like ClassX<int>, ClassX<short int> etc..
manish
int bps; // bps determined during run time
-
-
-
how can we make conditional declaration of a variable y
we want appropriate declaration depending upon bps.
eg. short y; // for bps = 16
int y; // for bps = 32
long y; // for bps = 64
this is similar to Templates in C++..
like ClassX<int>, ClassX<short int> etc..
manish