Ok this comes as two questions: what is the best variable for storing bianary data and how would I send That through a XOR gate? When I searched it didn't really do anything because XOR is a binary operator. I remember how to open o file in binary form from my last post on it. My preveous post on XOR was for text based and is not of any revalance to this.0
Zssffssz
-4
Junior Poster
Recommended Answers
Jump to PostThe "^" character is a bitwise XOR operator in C++.
Jump to Postostream& write ( const char* s , streamsize n );
This will put it into a character array. If you associate the array with a union of numeric data types, you can then manipulate it mathematically and/or logically.
All 5 Replies
mzimmers
0
Junior Poster in Training
Zssffssz
-4
Junior Poster
mzimmers
0
Junior Poster in Training
Zssffssz
-4
Junior Poster
mzimmers
0
Junior Poster in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.