Macro to cycle through and allocate data to members of structs incorrectly recognises struct member as pointer
问题 My problem is that atoi is converting a string's hexadecimal memory address to decimal, instead of what's contained within the string. It is doing this during a macro. Why is it interpreting struct->member as a pointer, when the macro definition makes it an int? Pseudocode below: if (struct.member == int)? struct.member = atoi(data) : struct.member = data; The aim of this section of the program is to retrieve data from a .csv file containing information about a structs attributes. I can take