Solved

Compare unsign char pointer

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

New! My Passport Wireless Pro Wi-Fi Mobile Storage

Portable wireless storage to offload, edit, and stream anywhere.

High-capacity, wireless mobile storage designed to accompany professional photographers and videographers in the field to easily offload, edit and stream captured photos and high-definition videos.

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…
Create your own, high-performance VM backup appliance by installing NAKIVO Backup & Replication directly onto a Synology NAS!
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…

863 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

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now