Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
C Programming
#include problem
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Mark, post: 4245826"] But what exactly do you mean by "can be copied with one assignment" ? struct my { unsigned int foo[6]; }; struct my a1 = { {0xa, 0xb, 0xc, 0x1, 0x2, 0x3} }; struct my a2; memcpy(&a1, &2, sizeof(struct my)); I still need memcpy, like I would for copying arrays. Mark [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
C Programming
#include problem
Top