Solved

Compare unsign char pointer

Posted on 2003-11-03
2
340 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
Comment Utility
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
Comment Utility
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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
How to add replacement disk to HP RAID ? 16 38
DR TECHNOLOGY APART FROM SRM 5 86
MySQL 11 66
Nic to NIC 5 43
Having issues meeting security compliance criteria because of those pesky USB drives? Then I can help you! This article will explain how to disable USB Mass Storage devices in Windows Server 2008 R2.
I previously wrote an article addressing the use of UBCD4WIN and SARDU. All are great, but I have always been an advocate of SARDU. Recently it was suggested that I go back and take a look at Easy2Boot in comparison.
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…
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…

771 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

11 Experts available now in Live!

Get 1:1 Help Now