const vs #define

what are the benefits of using const instead of # define?
thx you all in advance
Is this a classwork/homework question?
http://www.parashift.com/c++-faq/const-vs-define.html

This is one of those questions where your first resort should be google (or another search engine of your choice.)
Is this a classwork/homework question?

it is not a homework
first resort should be google

well i did but since i m new at com programing and everything i cant understand it well so i thought u guys might explain it in a beginner level

srry if i m wrong
Basically, the advantage of using a const instead of a #defined symbol is that the const will have a type (e.g. int, float, std::string, etc). This means that you get the benefits of C++ type checking, which might help you catch any problematic uses of the const elsewhere in your code.
Topic archived. No new replies allowed.