[ros-dev] Uninitialized static variable in function
Alexander Potashev
aspotashev at gmail.com
Sun Mar 20 14:32:24 UTC 2011
2011/3/20 Javier Agustìn Fernàndez Arroyo <elhoir at gmail.com>:
> teachers at college told us it is a must to initialize variables.....
When I was in high school, our teacher told me that a simple "int
a[5];" (without "= {0};") would initialize the array with zeroes. But
it didn't. At least, in old good Borland C/C++ 3.1.
--
Alexander Potashev
More information about the Ros-dev
mailing list