| ??? 05/04/02 20:06 Read: times |
#22511 - RE: passing variable argument type to fn |
"I can use the sizeof() to deterimine the type"
NO you can't. sizeof is purely a compile time function. Similarly, "types" such as int, char are purely compile time concepts - the compiler uses them to decide what code to generate, but they do not appear anywhere in the generated code. You will need to pass two parameters to your function: 1. a pointer to the value to write; 2. its size. |
| Topic | Author | Date |
| passing variable argument type to fn | 01/01/70 00:00 | |
| RE: passing variable argument type to fn | 01/01/70 00:00 | |
| RE: passing variable argument type to fn | 01/01/70 00:00 | |
| RE: passing variable argument type to fn | 01/01/70 00:00 | |
| RE: passing variable argument type to fn | 01/01/70 00:00 | |
| RE: passing variable argument type to fn | 01/01/70 00:00 | |
RE: passing variable argument type to fn | 01/01/70 00:00 |



