File Exchange
Try Origin for Free
The Origin Forum
Home
|
Profile
|
Register
|
Active Topics
|
Members
|
Search
|
FAQ
|
Send File to Tech support
Username:
Password:
Save Password
Forgot your Password?
|
Admin Options
All Forums
Origin Forum for Programming
Forum for Origin C
I want to use "union" in the origin.c
New Topic
Reply to Topic
Printer Friendly
Author
Topic
haesong7
Albania
1 Posts
Posted - 01/12/2003 : 07:01:16 AM
Hello, ^^
I really want to use "union" strcuture.However, I can't.
typedef union {
short gt[4];
double answer ;
} ex;
void test(void){
ex example;
...
}
Please, let me know how to declare "union"....
hajo_old
Germany
141 Posts
Posted - 01/22/2003 : 08:35:46 AM
Hello,
try to take "struct"
typedef struct example
{
short gt[4];
double answer ;
}ex;
Hope this works..
Topic
New Topic
Reply to Topic
Printer Friendly
Jump To:
Select Forum
Origin Forum
Origin Forum
Origin Viewer Forum
Origin Learning Edition Forum
Origin Forum for Programming
Forum for Python
Forum for Origin C
Forum for Automation Server/COM and LabVIEW
LabTalk Forum
Origin中文论坛
Origin 中文论坛 (Chinese Origin Forum)
Japanese Origin Forum
Origin日本語フォーラム (Japanese Origin Forum)
Origin on Linux
The Origin on Linux Forum
Private Forums
Distributor Forum
--------------------
Home
Active Topics
Frequently Asked Questions
Member Information
Search Page
The Origin Forum
© 2020 Originlab Corporation
Snitz Forums 2000