Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~501 People Reached
Favorite Tags
c++ x 4
Member Avatar for JustSuds

Hey, I've been working on my movement and controls and I've got a solid "DoInput(WPARAM wParam)" method built up. When I try to call it from WndProc like this: [CODE] switch (message) { case WM_CLOSE: { g_bDone = true; PostQuitMessage( 0 ); } break; case WM_KEYDOWN: [B][COLOR="Red"]DoInput(wParam);[/COLOR][/B] default: return DefWindowProc(hWnd, …

Member Avatar for JustSuds
0
93
Member Avatar for JustSuds

I couldn't see a more appropriate place to make this thread, and I can only think of ambiguous terms to google, like "Output Error Windows Visual Studio". The issue is, when I build my project (I'm using Visual Studio 2010, but I always had the same issue with VS2008), the …

Member Avatar for JustSuds
0
132
Member Avatar for JustSuds

I couldnt decide whether to put this question here (as I'm programming with DirectX) or in the C++ section. I seem to only get this error occasionally. I understand the [URL="http://msdn.microsoft.com/en-us/library/799kze2z%28VS.80%29.aspx"]MSDN examples[/URL], and how they work. But I'm wondering if anyone can give a more human explanation? See, this only …

Member Avatar for JustSuds
0
187
Member Avatar for JustSuds

Hi everyone, I just can't seem to find an explanation for using this "->" in code, in C++. I've migrated from Java and C#, and haven't seen this notation before. Basic example: [CODE]CMesh *pMesh = WorldObjects[i]->m_pMesh;[/CODE] As best as I can tell, this is the C++ equivalent of C#'s [CODE]WorldObjects[i].m_pMesh;[/CODE]. …

Member Avatar for Skeen
0
89