RunTime Datatype Determination in C
- From: "manish" <83.manish@xxxxxxxxx>
- Date: 23 Nov 2006 06:18:40 -0800
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
.
- Follow-Ups:
- Re: RunTime Datatype Determination in C
- From: Richard Tobin
- Re: RunTime Datatype Determination in C
- From: Chris Dollin
- Re: RunTime Datatype Determination in C
- From: Mathias Gaunard
- Re: RunTime Datatype Determination in C
- Prev by Date: Re: URL decoding/encoding problem
- Next by Date: Re: Interesting code
- Previous by thread: i2c proggramming through c
- Next by thread: Re: RunTime Datatype Determination in C
- Index(es):