Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. camelxl

    Memory allocation for structures

    PerFunt: Could you explain how to use 'new' in this case because i get the same thing when i try it. ArkM: If i do it like this:- (*(Power)->Array)->Size = (long)malloc(sizeof(long)); i get an "Unhandled exception" error.
  2. camelxl

    Memory allocation for structures

    Hi all, I need some help. Could somebody please tell me what is wrong with this code, or maybe suggest a better way to do this. typedef struct { long Size; double Data[1]; } Struct2; typedef Struct2 **Struct2Hdl; typedef struct { double f0; double df; Struct2Hdl Array; } Struct1...

Part and Inventory Search

Back
Top