devxlogo

Tip Bank

Interface

Question: What’s an interface in Java programming? Answer: Conceptually, an interface is a class that defines a set of methods with no implementation. It is analagous to a pure virtual

Power Script

Question: I am reading in an external data file using i_file = fileopen (“c:dataamt.dat”, linemode!,read!) fileread (i_file, filelines) fileclose (i_file) How would you avoid hardcoding the data file so that

Relational Database vs Flatfile

Question: My company is in the process of evaluating packages to replace our current business application. All but one of them run on a relational database architecture. The other one

Two-way list with one pointer

Question: How can I make a two-way linked list with only one pointer? Answer: If, by two-way linked list, you mean a linked list that can be traversed from either

Copying data

Question: Is it possible to select only certain records from a table and copy those records to a new table? Answer: The easiest way to move only certain records from

SQL Server Query/Reports Tool.

Question: Can you suggest a good SQL Server query/reporting tool suitable for end users who are used to using the MS Access query builder/report generator? Answer: Why not stick with

obj files

Question: Do you know of any utilities that can convert an *.obj file back to its original code (*.cpp/*.c)? Answer: The simple answer is that there is no hope of

MFC applications

Question: I have no experience with MFC applications, and I am wondering if there is a URL that gives very basic samples of code for applications. I can’t even figure

Java numerical performance

Question: I’m thinking of reimplementing a computationally intensive scientific app in Java. What fraction of native C speed do people usually see with current Java compilers? Answer: This is not