Hi All, Thanks for the reply. I will try out. Thanks and Regards, Dileep
On Thu, Apr 1, 2010 at 5:20 AM, Emmanuel <[email protected]> wrote: > Waooo... > > I think you are a little bit expeditive on this one ! > > I really think #ifdef are a very important thing in C / C++, and I > missed so much in any other languages I am using ! > > Using static / constant data can't achieve the same thing : for > instance you can't have different data in a class without ifdef... > It makes programs more difficult to read, but you really can switch > from different versions of your programs much more easily, and it's a > real gain of time ! > > Emmanuel > http://androidblogger.blogspot.com/ > http://www.alocaly.com/ > > On Mar 30, 12:36 pm, Bob Kerns <[email protected]> wrote: > > You do not do that in Java. > > > > I suggest you should not do that in C++, as there are better ways to > > do it. > > > > I suggest you do not use C. > > > > On Mar 30, 2:57 am, Dilip Dilip <[email protected]> wrote: > > > > > > > > > Hi All, > > > How to do conditional compilation in JAVA. > > > > > something like in C, C++ : > > > > > #ifdef TRUE_CONDITION > > > > > #else > > > > > #endif > > > > > Thanks and Regards, > > > Dileep > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected]<android-developers%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > > To unsubscribe, reply using "remove me" as the subject. > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

