I switched compilers on a lark. I've gotten rid of my error messages. I have this code:
struct sdata_2 {
char d21;
char d22;
char d23;
char d24;
char d2x[20];...
Type: Posts; User: lugnut
I switched compilers on a lark. I've gotten rid of my error messages. I have this code:
struct sdata_2 {
char d21;
char d22;
char d23;
char d24;
char d2x[20];...
The difference between " and ' was ... surprising.
I guess I'm too old to play this game. The mainframe world uses all caps. VBA (I write a lot of Excel macros) capitalizes a lot of directives...
I thought I understood this, but apparently I was wrong (just this once). Specifically, I really do not understand the code...
p += *(size_t *)p;
h1 = (void *)p;
p = (h1 + 1) +...
I think this code handles my situation. To be honest, it's a little (well, maybe not so little) over my head. But I've been known to study this kind of thing until I understood it!
It just seems...
Thanks Tabstop. It was a revelation. Assembler is so much simpler. Too bad I don't know Intel asm.
Master5001, I looked ar your code again (Example 1) and it is very clear. What it lacks is...
The output should look like:
*fixed length**var length**fixed length2**var length2**fixed length3**varlength3*
There may be two or three sections of this fixed length header, variable length data...
Hi,
My job is to read some image data, and add some appropriate hex data. I stripped this code to this form because much of the code is irrelevant to my problem. I have multiple structures, and...