Can I just copy one whole structure to another?

Just starting out? Need help? Post your questions and find answers here.
deadmoap
User
User
Posts: 79
Joined: Sun Feb 22, 2004 11:45 pm
Location: Riverdale, Utah
Contact:

Can I just copy one whole structure to another?

Post by deadmoap »

For example, like this:

Code: Select all

*hItem=hEditItem
Both of them are structures. But can I do this? Or do I have to copy each field one by one?
Karbon
PureBasic Expert
PureBasic Expert
Posts: 2010
Joined: Mon Jun 02, 2003 1:42 am
Location: Ashland, KY
Contact:

Post by Karbon »

-Mitchell
Check out kBilling for all your billing software needs!
http://www.k-billing.com
Code Signing / Authenticode Certificates (Get rid of those Unknown Publisher warnings!)
http://codesigning.ksoftware.net
Post Reply