unions
How to make struct type definitions visible outside a union C++
I keep getting the following errors when I compile under g++ (These are segments of a much longer code)[详细]
2023-04-12 17:56 分类:问答how to pass the union pointer as parameter in C? and what is the inside of union?
I have a question about union in c. The following code is the server side, we receive Signal2 from the client side, in the service function,can I check the signal type like this: data开发者_运维问答_p[详细]
2023-04-11 14:48 分类:问答access union member in c
I have a question about union in c language for example: typedef struct { int a; float c; }Type1; typedef struct {[详细]
2023-04-11 12:46 分类:问答Deleting an aliased pointer
Doing this: union{ int * integer; char * character; } u; u.integer = new in开发者_如何学Pythont; delete u.character;[详细]
2023-04-06 19:31 分类:问答Question about Unions and Memory Mgmt
I\'m confused about unions and how they allocate memory. Say I have: union Values { int i开发者_JAVA技巧value;[详细]
2023-04-06 14:40 分类:问答What's the difference between struct { ... } and struct { union { struct { ... } } }?
Is there a reason why DISK_DETECTION_INFO is defined as typedef struct _DISK_DETECTION_INFO { DWORDSizeOfDetectInfo;[详细]
2023-04-03 20:58 分类:问答Account Receivable Aging report with sql subquery
I am so late on this project for work. I think I am the home stretch though. I have two tables pay and chg. trying to do the aging buckets first, then I want to subtract the correlating buckets(chg(ch[详细]
2023-04-03 02:46 分类:问答"Retroactive Union" - can it be done?
I\'ve got two classes: a template class, and a regular class that inherits from it: template <int N> class Vector[详细]
2023-04-03 02:12 分类:问答Why are unions good for low level system programming in C? [closed]
As it currently stands, this question is not a good fit for our Q&开发者_运维百科amp;A format. We expect answers to be supported by facts, references,or expertise, but this question will likely so[详细]
2023-04-02 20:43 分类:问答c++ strict aliasing problem --- driving me crazy
Okay... I\'m getting kind of desperate trying to get this code to work with strict aliasing turned on (and -O3).[详细]
2023-04-02 16:03 分类:问答