Tip Bank

DevX

Virtual Functions and Polymorphism

Question: Say you have three classes, a base (called Base),and two classes derived from it (called Derv1 andDerv2). Base has a pure virtual function (called TypeGet()) that is defined in

DevX

Aborting a Loop

Question: Is there any way to abort a loop with just pressing a kee. Like you could do in Pascal: dountil keypress Answer: If you are writing a loop that

DevX

How to Learn C++

Question: What is the best way to learn c++?I can study on line, by book or attend a course.Which are the bests places to start. Answer: The answer really depends

DevX

CL.EXE Error

Question: I installed MS Visual C++ 5.0 at work and on my home machine. At work it’s fine running on Windows NT with 96 megs of RAM. On my home

DevX

Linked List vs. File I/O

Question: Can you explain to me how a linked list works with FILE I/O. For example, how do you add, modify, delete, and search for a student record in a

DevX

Mouse Support Under DOS

Question: In what direction should I look to find a way tobuild a simple dos aplication with mouse control. Answer: Building a DOS application that provides mouse support involves writing

DevX

External function for checking a process

Question: Our Powerbuilder application launches an external program using the RUN command. We use the Timer Event to keep checkingif the process is running by using theKERNAL32 external function GetModuleHandleA.

DevX

Accessing I/O Memory under Win32

Question: I would like to program the parallel port in Windows NT or 95. What should I do? Answer: At the simplest level, accessing the parallel port involves reading and

DevX

Wild card searching using DataWindow

Question: I tried to place wild-card (e.g. ‘%Ken%’) for the searching of records in a DataWindow through QueryMode, but couldn’t get the result. Are there any other ways to do