T
TGF
Here is some C code....
unsigned char *bytePtr;
handle = open(filename, r);
bytePtr = new (unsigned char *)malloc(256);
if (handle!=-1) {
bytesRead = read(handle, buffer, 256);
if (bytesRead>0) {
// do stuff with bytePtr at the byte level
// i.e. bytePtr++, bytePtr += 30;
...
...
}
}
....What would be the most effecient way to do this using Managed C++? Now
remember, I have alot of code that needs access to the data read at the byte
level.
-TGF
unsigned char *bytePtr;
handle = open(filename, r);
bytePtr = new (unsigned char *)malloc(256);
if (handle!=-1) {
bytesRead = read(handle, buffer, 256);
if (bytesRead>0) {
// do stuff with bytePtr at the byte level
// i.e. bytePtr++, bytePtr += 30;
...
...
}
}
....What would be the most effecient way to do this using Managed C++? Now
remember, I have alot of code that needs access to the data read at the byte
level.
-TGF