• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 348
  • Last Modified:

Compare unsign char pointer

I declare an unsigned char *temp. Now, how do I copy the content of an "unsigned char *test"?
This is what I did temp = test. But it's pointing to the same pointer and not the content.

How do I compare the content of an "unsigned char *" if they are the same?

Thank you
0
musicc
Asked:
musicc
1 Solution
 
shivsaCommented:
u are assigning the address to address. u can assign the content with *temp = *test.

BTW this question is of programming section.

0
 
musiccAuthor Commented:
Sorry. The site is very confusing. How do I move it to programming section?
My goal is to compare bitmap images to see if they are the same.
0

Featured Post

Fill in the form and get your FREE NFR key NOW!

Veeam is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now