What you should do is go to download.com or somewhere and download open source tetris clones for linux. They're most likely written in C++ and can def give you a head start as to an algorithm, etc. From there it should be easy to port to Visual C++. Good luck! Sorry I can't be more help, I never made a VC++ game before unfortunately
There's no reason why your teacher, or anyone else who understand C++, should know how to write Windows applications. The two are quite different things. C++ is a language defined by a standard and available on a large number of platforms. Windows just happens to be one of those platforms. Visual C++ just happens to be Microsoft's own implementation of a C++ compiler. It supports standard C++ (to a degree) and, not unreasonably, provides vast support for the Windows API. But the Windows API is a Windows issue, not a C++ issue. So your teacher is not dum (sic) for not understanding how to use Visual C++. In fact, it has it's own IDE environment that takes some time to get used to even for people experienced in using the Windows API with other compilers.
It's quite reasonable for C++ students to be taught how to make 'DOS things'. To start with you should be concentrating on the C++ language and libraries, and only then on a particular API. You have to be able to walk before you can run. People who try to learn C++ by getting stuck straight into the Windows API without having a good understanding of the core language are in for a rough ride.
C++ is a complex language. Win32 is a complex API. The language has to come before the API, but expect both to take some time to master.
Well said. Tell me why, then, I am entering my fourth semester of college as a Computer Science major and still have not even touched a GUI of any kind? (Damn Hofstra U). There is, however, one professor who is in love with QT (but then again, heaven forbid we use something like Glade; it has to be hand-coded!)
GLADE = GTK+ Unix Interface Builder
drag-n-drop widgets onto the form very similar to the way it's done in VB, only it works with Linux C++ in XWindows
hmm..i find that disturbing. fourth year!? and still no cheese.
well no wonder you dont like your uni.
the best way to motivate a student is for him/her to see her full finished product looking all nice and all. besides its to give you a break and to show more of ur artistic side.
the reason i want to learn api and gui in such a rush is to see my finished product. When my program looks like something that I once use to buy I get a great satisfaction and that in turn motivates me to continue. but now always looking at a black screen no matter how good the code is. It still feels missing and looks cheap and isnt very satisfying.
hmm i dont know if any of this makes sense to you.
i knwo the right thing is to take it one step at a time. but i dont want to jump and learn to make windows again. i will be content with just making a simple interface for my programs. anything as long as its not a black dos screen :( .