I did everything exactly as Chili showed us, but I get an error when trying to compile. I put my solution in the attachment.
EDIT: I added a screenshot of the 4 errors I'm getting, and where they are all situated which is suprisingly all in the same area. I've highlighted the lines that get errors.
Lesson 8 Help!
Lesson 8 Help!
- Attachments
-
- error.jpg
- Lines that have errors highlighted
- (145.22 KiB) Downloaded 191 times
-
- Chili DirectX Framework V12.04.24 (Mk III).rar
- This is the solution
- (5.44 MiB) Downloaded 143 times
Re: Lesson 8 Help!
Under the "mouse( mServer)" you need to have a {}.
Just between that and "void Game::..."
Like this:
Just between that and "void Game::..."
Like this:
Code: Select all
Game::Game( HWND hWnd,const KeyboardServer& kServer,const MouseServer& mServer )
: gfx( hWnd ),
audio( hWnd ),
kbd( kServer ),
mouse( mServer )
{}
ʕ •ᴥ•ʔ
Re: Lesson 8 Help!
You sir, are a genious. I love you.
- magusofmirrors
- Posts: 56
- Joined: May 12th, 2012, 10:03 pm
Re: Lesson 8 Help!
Lying is unforgivable! You said that you "did everything exactly as Chili showed us", yet you disappointed us with a silly, human mistake. You should have known that even empty functions require brackets even though you are just beginning. Now go... go and type the standard "Hello World!" program 100 times. Get your syntax right!
Congratulations!
Man, that is one large image you posted.
Congratulations!
Man, that is one large image you posted.
The admins are coming!!!
Re: Lesson 8 Help!
I think more than half of the help requests contain "did everything exactly as Chili showed us", and it always cheeses me off just a little. I have to remind myself that I too was once a newbie who would blame the computer, blame the compiler, blame anything but my own incompetence wherever a bug stubbornly eluded me.
Chili