Beginer looking for an intro to graphics in C++...
I'm a second year computer science student looking for an introduction to grahpics in Visual C++ 6.0 . The cirriculum at my school doesn't include any graphics, and my teacher hasn't programed a computer in at least 10 years, so I got little help there. I had figured out some neat things on the computers at my school from the help files using GRAPHICS.H, but our computers are really old, so none of the files I use there are on my home computer (and those that I do try to bring home contain things like _far which Visual Studio doesn't like). Every source for graphics information I've found either contains files that I don't have or comes from windows-based books that only tell me how to plug in words in certain places to get pre-made stuff to work. It looks pretty, but I'm pretty useless outside of these isolated examples. Can anyone tell me where I can get a good basic understanding of graphics with the files included in the Visual Studio 6.0 that I can then expand on so that maybe one day I will understand all the stuff in those big books? Any information or suggestions would be greatly appreciated, and yes, I know I'm just a dumb kid, so you don't have to tell me that. :D
Dude, i know how you feel
I have the same problem with my compiler. Even though i am using VC++ 6.0, i can't recognize those commands. I also tried asking for help on this site, but people aren't very ready to. Don't bother about graphics here, the people who could answer your question either don't bother, or waste time telling you to go somewhere else. I am still looking for a good graffics tutorial for VC++ 6.0. If i find one, i will tell you.
it seems this should be taught at school...
I'm supposedly in a "college level" computer science class (Advanced Placement), and yet they never teach anything about graphics...you only learn how to use pre-created classes. Doesn't seem very helpful to me...am I going to be at a disadvantage if I take actual programing classes in college? Will they expect me to know this stuff already, or will they teach it to me?
P.S. My Towers of Hanoi program has the best-looking graphics ever created with GRAPHICS.H!!!...well, at least out of all the people in my class... =)
Thanks for the recommendation
I started looking at the book that you recommended. It's interesting, and I can understand most of it, but I've found that I have trouble applying that stuff outside of the context of the book. Since I've never done any Windows programming before, I don't how to do many of the things I could in text-based programing. For example, the compiler didn't like it when I tried to create a class in the regular old way I've been doing since I started working with C++. Do you (or anyone else) know a good basic place to start for Windows-based programing? My main issue is bridging the gap between text-based programming and the seemingly-overwhelming world of all the Windows stuff. Thanks again for the book reference.
I'm not really looking for game graphics
I don't really program games, so I don't really need those kind of graphics (at least not yet). What I'm looking to do is improve the user-interface of all my old text-based programs. I want to be able to gain some Windows functionality (maybe message boxes, menus, the "File Open" dialoge, etc. like what I found in the book by Petzold recommended by Dual-Catfish), which is why I was interested in an introduction to Windows, but I also don't want my programs to look like they were made in Visual Basic with me just putting in the appropriate words on the menus and message boxes. Should I first learn how to make generic-looking Windows-based programs, or are the more interesting user-interfaces created in a totally different way?
P.S. At this point, I'm not expecting to be able to create incredible interfaces. I'm pretty much at square one when it comes to Windows (my old programs don't work at all when I try to bring them over to Windows), so I'm definitely not looking for anything advanced yet. Thanks!
How old is your version of graphics.h?
Do you have a more updated version of graphics.h that doesn't include the _far keyword? If so, could I get it from you? Thanks.