jonnyknowsbest
Technical User
I am learning C++ and directx but i am struggling with one aspect. What is the difference between accessing methods using a period (.) and using this ->.
Eg. if (FAILED (m_pD3D->GetAdapterDisplayMode (D3DADAPTER_DEFAULT,
&d3ddm) ) )
{
return E_FAIL;
}
Eg. if (FAILED (m_pD3D->GetAdapterDisplayMode (D3DADAPTER_DEFAULT,
&d3ddm) ) )
{
return E_FAIL;
}