Raised This Month: $51 Target: $400
 12% 

[TUT] The Use of Stocks


Post New Thread Reply   
 
Thread Tools Display Modes
drekes
Veteran Member
Join Date: Jul 2009
Location: Vault 11
Old 04-20-2010 , 17:27   Re: [TUT] The Use of Stocks
Reply With Quote #21

okay,

So a stock is skipped by the compiler when it is not used in the code, if i read right.

and if i don't add stock, its a stock to?
if i understand this thread.

So actually it doesn't matter if i put stock or not in front of it?

btw: Nice guide bugsy, will read it all the way when i have time.
__________________

Quote:
Originally Posted by nikhilgupta345 View Post
You're retarded.
drekes is offline
Send a message via MSN to drekes
hleV
Veteran Member
Join Date: Mar 2007
Location: Lithuania
Old 04-20-2010 , 17:52   Re: [TUT] The Use of Stocks
Reply With Quote #22

If you don't add "stock", the code will be included into the binary.
__________________
hleV is offline
drekes
Veteran Member
Join Date: Jul 2009
Location: Vault 11
Old 04-20-2010 , 18:10   Re: [TUT] The Use of Stocks
Reply With Quote #23

Quote:
Originally Posted by hleV View Post
If you don't add "stock", the code will be included into the binary.
even if it is never used?
__________________

Quote:
Originally Posted by nikhilgupta345 View Post
You're retarded.
drekes is offline
Send a message via MSN to drekes
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 04-20-2010 , 18:43   Re: [TUT] The Use of Stocks
Reply With Quote #24

Quote:
Originally Posted by drekes View Post
even if it is never used?
Yes. If it's not public it will cause a warning at compile.
__________________

Last edited by Emp`; 04-21-2010 at 13:08. Reason: Causes a warning.
fysiks is offline
drekes
Veteran Member
Join Date: Jul 2009
Location: Vault 11
Old 04-21-2010 , 01:40   Re: [TUT] The Use of Stocks
Reply With Quote #25

okay, i understand it now, thanks guys
__________________

Quote:
Originally Posted by nikhilgupta345 View Post
You're retarded.
drekes is offline
Send a message via MSN to drekes
Reply



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 04:16.


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