You can't know the size of a function before compilation, because the size could vary depending on the compiler settings. For example, if you set the compiler to optimize for size, the function could be smaller than if the compiler is set to optimize for speed.
Thx, Salem, I forgot you'll already answered the question of
pointers. I've read that you can compute the size of the
function by using next function.
like this
func(){
}
func2(){
}
int size=func2-func; But you have to make some option to
compiler like this /ORDER.
As for you question what i'm trying to do. Well, I'm just trying to figure out an article on CodeGuru.com.
if you are interested I can send you this. It's about some
system programming. The site is good.
w.d.r. sulacco.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.