Skip to main content
GameDev.net gamedev.net
🔒 Locked

recursive class problem

Started by makingroulette Feb 24, 2005 at 7:41 AM 1 replies 300+ views
Original Post
makingroulette
makingroulette
is this infinitely recursive below is a the constructor of a class CXSurface::CXSurface(LPDIRECT3DDEVICE9 pDevice) { m_BackBuffer = new CXSurface(pDevice); } will this forever create CXSurface's

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.