Original Post
Before I thought I knew what a const was but then I was reading Sam's Teach Yourself DirectX and I saw example with a use of const which I'd never seen before (the function was a member of a class if that makes any difference):
BOOL SomeFunction() const;
err.. What does this do?
also why whould you want a const in
BOOL SomeFunction(const char* szFileName);
if anyone can take a moment to answer these questions I would be very greatful!!!
Edited by - xstreme2000 on 9/27/00 4:02:22 AM