Hi,
I was wondering if anyone knew of a command line tool for analyzing C source code and generating a call hierarchy. I'm looking for something like a more powerful version of cflow, which...
Type: Posts; User: merlin2011
Hi,
I was wondering if anyone knew of a command line tool for analyzing C source code and generating a call hierarchy. I'm looking for something like a more powerful version of cflow, which...
I'm not sure if this is too general a question to ask on this board, so please let me know if this is not appropriate.
I'm wondering if there are any sites online that will give me the detailed...
I think the last point was what I didn't realize, but suspected was true. I have no idea why the "address of" operator doesn't work on the name of an array, but I guess that's just the way it is....
First of all, the declaration of the struct.
typedef struct instruction{
char opcode, rt, rs, rd, sa;
short int immed;
unsigned int target;
char* label;
char text[40];
}
I'm a little bit confused. My understanding is that
char* temp = ada[ind].text;
causes temp to point at the same thing text is pointing to.
Doesn't that mean I'm modifying what text is...
Apparently this code works:
char* temp = ((ada+ind)->text);
process(ada+ind, &temp);
While this code doesn't: