Raised This Month: $ Target: $400
 0% 

memcpy() equivalent?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Misery
Senior Member
Join Date: Dec 2010
Old 12-15-2011 , 15:26   memcpy() equivalent?
Reply With Quote #1

Hi,

I'm trying currently to do something like this:
Code:
new src[] = { 1, 1, 0, 1, 2, 0, 0, 1 };
new dst[32];
// [...]
copy(lame, 8, dst);
However, the above code does not work as I want, because since copy() is a string function, itll stop at the third character in src[], taking it as the terminating char ('\0').

Any AMXX equivalent of memcpy()?

Thanks!

Misery

Last edited by Misery; 12-15-2011 at 15:26.
Misery 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 11:48.


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