Tip Bank

DevX - Software Development Resource

A const member function

Whenever you define a class member function which does not (and should not) change its object, it’s a good idea to define it as a const member function. There are

DevX - Software Development Resource

Activate Your Applets

Did you ever feel the urge to use a nice Java class you just wrote as an ActiveX object on your Windows machine? Good news: you can do it in

DevX - Software Development Resource

List of keys in a .ini section

Question: Is there a Windows function or some quick wayget a list of the keys in an .ini file, such as: [Section]Key1=xxxKey2=yyyKey3=mmmKey4=ppp I want this: ‘Key1’, ‘Key2’, ‘Key3’, ‘Key4’ Answer:

DevX - Software Development Resource

Viewing Text File

Question: How can I view and print a text file in PB5-16? I don’t need to edit. Answer: Use the FileOpen, FileRead and FileClose commands to read you text file.

DevX - Software Development Resource

Endless Loop

Question: I am having a problem with getting an infinite loop out of a particular program and I am not quite sure where the problem is at. If you could

DevX - Software Development Resource

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 - Software Development Resource

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 - Software Development Resource

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 - Software Development Resource

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