DATA
10-13-2001, 07:48 AM
hi all,
for those all who is in the habbit of using the #define macro,i would personally s***est that u get to use the
syntax:const int data type instead.
the problem is that if some thing goes wrong with ur problem and u r watching and deb***ing ur code in c/c++ u will get a very bad time doing so as u find values changing magically frm time time to time if use the #degine directive coz the actual code is substituted
in run time and is only inserted at the piny of exucution.
well u may need to use #define sometimes but always try to get to use the #define directive and try go for alternatives.
with regards to tamos & all of u
for those all who is in the habbit of using the #define macro,i would personally s***est that u get to use the
syntax:const int data type instead.
the problem is that if some thing goes wrong with ur problem and u r watching and deb***ing ur code in c/c++ u will get a very bad time doing so as u find values changing magically frm time time to time if use the #degine directive coz the actual code is substituted
in run time and is only inserted at the piny of exucution.
well u may need to use #define sometimes but always try to get to use the #define directive and try go for alternatives.
with regards to tamos & all of u