icons

This is a discussion on icons within the C++ Programming forums, part of the General Programming Boards category; how do i get icons?
Iv herd its something like id_icon Filename icon;
can anyone tell me how its done?...

If you're in visual C++ you can simplify this greatly by doing: Insert->Resource->Icon then hitting new. It will then create an icon window that you can draw in if you want. Fill that in if you want, but regardless of what you do, once you're done, press ctrl-s or just his save and save the .rc file that automatically gets generated for you. Then insert the .rc file in to your project and your program will now have that icon replaced for the exe icon.

*Notice*
To use the icons in your code, there's a little extra coding you have to do, but I'm not going to get in to that unless you need me to