Hi,
I was wondering if I have the rights under this site's license to copy code. For my specific example, I would like to copy the code here: http://www.cplusplus.com/reference/ctime/asctime/ under Example and modify it.
Thanks
Yes. The site owner has specifically indicated that he expects that.
In this specific case, the code is generic enough that you could copy and modify it anyway and no one in their right mind could give you grief over it.