It sounds like you are using Microsoft Visual. This has happened to me. I know there is a distribution package you can download. When I downloaded it to my desktop, this solved the problem. However, I tried running my games on my husbands laptop, and even with the distribution package on the disk, it would not work. I did not download it directly to his computer though.
finshed breakout game
After all this time you actually completed it, big congrats to you.
Works fine here, however the key controls have the Input type delay. If you're using WM_KEYDOWN/WM_KEYUP to check for this, try using a bool array to remember if a key is pressed/released. In the main loop only check for the bool array (set pressed=true when WM_KEYDOWN, pressed=false when WM_KEYUP). This should get rid of the delay.
well after doing some research this should work let me know if you get any errors
could you tell us the solution?
Congratulations on the progress!
You might want to add a loss condition to the game -- usually if you miss the ball you lose the game (or lose a life if those are included), but in your version the ball simply bounces off the bottom of the window.
When you get ready to release your apps, you need to include the dll's for any libraries you used. ( and linked dynamically, in your case it seems to be glut and maybe glew? ). As well as the microsoft runtime redistributable for your version of visual studio. They must install the run time. You shouldn't copy the visual studio runtime .dlls with your application.
Visual C++ Redistributable for Visual Studio 2012 Update 1
well I am going to tweak my game a little, thanks for all the help, what should I work on next?
Before you tweak, save a copy of your working game first!
As for what to work on next, you can enhance the breakout game you already have (add graphical effects), or make a clone of a more complex game (tetris, pacman, space shooter games, etc.).