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 Mike Lewis 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: *

  • Users: khanz
  • Order by date
  1. khanz

    a simple question about initialisation of pointers

    If you are creating an object inside a function and you want to return a pointer &/or reference to that object then it must be created on the heap (e.g. using new keyword). If you use your first tchnique COleDateTime pDates[2]; In this case the pointer will not be pointing to a valid address...

Part and Inventory Search

Back
Top