Raised This Month: $ Target: $400
 0% 

#define or new const


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 07-22-2010 , 18:55   Re: #define or new const
Reply With Quote #11

Quote:
Originally Posted by Bugsy View Post
In this case, the question is whether or not a memory address occupies a cell of memory when a variable is used. If so there will be no difference between #define and const for integers.
Oh, good point. I had to read that 4 times to understand what you were saying lol .
__________________
fysiks is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:36.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode