Const vs Define
#4

Quote:
Originally Posted by Roko_foko
Посмотреть сообщение
In my opinion, definitions are better, for that type of code.
I think they don't use memory, while static cost use same size memory as normal variables.

I only saw constants in parameters of a function as there we can't use definitions there.

Question: why are you defining costants as static? they can't be changed so...
Say that again please, and now with thinking before you say it.
Definitions don't use memory?
Oh really? Explain me why you think that something doesn't use/require resources, I'll be glad to hear.
Reply


Messages In This Thread
Const vs Define - by Finn - 13.07.2012, 18:08
Re: Const vs Define - by Vince - 13.07.2012, 18:30
Re: Const vs Define - by Roko_foko - 13.07.2012, 18:47
Re: Const vs Define - by milanosie - 13.07.2012, 18:50
Re: Const vs Define - by Finn - 13.07.2012, 18:57
Re: Const vs Define - by Roko_foko - 13.07.2012, 19:03

Forum Jump:


Users browsing this thread: 1 Guest(s)