Search:

Type: Posts; User: mushu

Search: Search took 0.00 seconds.

  1. Replies
    4
    Views
    1,448

    Thanks! But the point is that the later...

    Thanks! But the point is that the later functions shouldn't have to check whether the bitrate is 8 or 32 ... they should just be able to access "bar.v.value" or something like that.
  2. Replies
    4
    Views
    1,448

    Type definitions within conditionals?

    Is this possible?

    void definer(int bitrate)
    {

    if (bitrate = 8) typedef char MY_TYPE;

    if (bitrate = 32) typedef signed long MY_TYPE;
    }
Results 1 to 2 of 2