Im new to C and have come across the memset function to reset values but i am not sure what the fields are and how to use it. Could anyone tell me how to use it, an example would be great!
Thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Im new to C and have come across the memset function to reset values but i am not sure what the fields are and how to use it. Could anyone tell me how to use it, an example would be great!
Thanks
See if this will get you there:
http://www.cplusplus.com/ref/cstring/memset.html
I got it by going to google and searching for
memset example
There were many other hits if you need more.
Google is our friend!
Wayne
This and other such functions:
http://www.gnu.org/manual/glibc-2.2.5/html_node/Copying-and-Concatenation.html#Copying%20and%20Concatenation
tkorrovi