Solved

Compare unsign char pointer

Posted on 2003-11-03
2
343 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
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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

This article is an update and follow-up of my previous article:   Storage 101: common concepts in the IT enterprise storage This time, I expand on more frequently used storage concepts.
In this article we will learn how to backup a VMware farm using Nakivo Backup & Replication. In this tutorial we will install the software on a Windows 2012 R2 Server.
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…

839 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