Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
For the "different types into one array", perhaps you could use inheritance and create and "array" of (pointers to) the base class?
Be carefull with memory leaks ;-) C++ doesn't have a garbage collector by default!