From Andrew Seddon · 1996-04-06 10:46 · #73548 in EMULATE
*****************************************************************************
Dear All,
I am having some problems understanding some of this C++ stuff.
Could somebody please answer some of these questions.
*****************************************************************************
* 1.) Could somebody explain why we use clases and what exactly are they *
* for?? *
*****************************************************************************
* 2.) What do we use structures for and why?? *
*****************************************************************************
* 3.) Is windows programing hard?? *
*****************************************************************************
* 4.) With windows programing in Borland C++ 4.5 do you have to design *
* your interface and tell it to say display a window with text *
* inside it.. i.e this very simple program written in dos would display *
* a message. *
* *
* #include <iostream.h> *
* *
* void main() *
* { *
* cout << "a message"; *
* } *
* *
* if i were to write that in Borland c++ 4.5 would it display that *
* same message within a box, or would I have to delcare the box and *
* do alot of other code?? *
*****************************************************************************
* 5.) Is Borland C++ 4.5 32bit?? *
*****************************************************************************
* 6.) Can you program for dos with Borland C++ 4.5?? *
*****************************************************************************
* 7.) Would it be a good idea to learn WinG for windows graphics programing *
* or is there some other libary that would be best. *
*****************************************************************************
* 8.) What is the best way to check for key presses?? I.e how should it *
* be done. Should the whole program be contained in a loop and a *
* function created that carrys out all the house keeping tasks so *
* to speak that is run every time the program loops?? *
*****************************************************************************
* 9.) I have created a program that moves a dot around the screen acording *
* to key presses. What it does is places the dot on the screen then on *
* the next key press go back and delete the trailing dot then re-draw *
* the new one. This seems to create a lot of cursor movement and slows *
* the whole program down. What is the proper way to do this?? *
*****************************************************************************
*10.) Is (Teach Yourself Borland C++ 4.5 for Windows) a good book?? *
*****************************************************************************
*11.) Is (Tricks Of The Game Programing Gurus) a good book?? *
*****************************************************************************
Thanks to anybody who has actually managed to reach this point in
this message. If there are any questions you can answer please do
so. B.T.W this message was written late at night so please excuse
any spelling errors.
Please contact me at any of the places below..
Oh and anybody answering any of the questions can have free
unlimited access to my BBS for life.
FAX = (01354-740693)
BBS = (01354-741475)
VIA THIS ECHO
VIA NETMAIL
VIA MEDWAY SANITORIUM BBS
Andrew Seddon
*****************************************************************************
--- Blue Wave v2.12 [NR]
* Origin: Medway Sanitorium BBS +44-1634-710972 (2:440/601)