Raised This Month: $ Target: $400
 0% 

Sizeof and charsmax?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
nikhilgupta345
Veteran Member
Join Date: Aug 2009
Location: Virginia
Old 08-19-2010 , 18:25   Sizeof and charsmax?
Reply With Quote #1

I got a question

If I were to do this:

Code:
new array[32]
read_argv(1, array, sizeof(array)) //This one uses sizeof
Would it work the same as:

Code:
new array[32]
read_argv(1, array, charsmax(array)) // This one uses charsmax
???
nikhilgupta345 is offline
Send a message via ICQ to nikhilgupta345 Send a message via Yahoo to nikhilgupta345
 



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 22:01.


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