Solved

Compare unsign char pointer

Posted on 2003-11-03
2
344 Views
Last Modified: 2011-04-14
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
Comment
Question by:musicc
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 24

Accepted Solution

by:
shivsa earned 35 total points
ID: 9674039
u are assigning the address to address. u can assign the content with *temp = *test.

BTW this question is of programming section.

0
 

Author Comment

by:musicc
ID: 9679265
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

Edgartown IT Case Study

Learn about Edgartown's quest to ensure the safety and security of the entire town's employee and citizen data. Read the case study!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Lets start to have a small explanation what is VAAI(vStorage API for Array Integration ) and what are the benefits using it. VAAI is an API framework in VMware that enable some Storage tasks. It first presented in ESXi 4.1, but only after 5.x sup…
Concerto Cloud Services, a provider of fully managed private, public and hybrid cloud solutions, announced today it was named to the 20 Coolest Cloud Infrastructure Vendors Of The 2017 Cloud  (http://www.concertocloud.com/about/in-the-news/2017/02/0…
This video teaches viewers how to encrypt an external drive that requires a password to read and edit the drive. All tasks are done in Disk Utility. Plug in the external drive you wish to encrypt: Make sure all previous data on the drive has been …
This Micro Tutorial will teach you how to reformat your flash drive. Sometimes your flash drive may have issues carrying files so this will completely restore it to manufacturing settings. Make sure to backup all files before reformatting. This w…

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question