The Latest

DevX - Software Development Resource

Virtual Functons

Question: How are Virtual Functions implemented in C++ ? What is a virtual table? Answer: Let me start by saying that the C++ language definition does not impose any implementation

DevX - Software Development Resource

How to view an image

Question: An old high school friend said he put a picture of himself on the Web, and to view it I should go to JPEG … WHAT DO I DO???

DevX - Software Development Resource

Screen resolution detection

Question: I need to know how to detect the screen resolution of the client machine. Then I need to tell it to go to specific pages based on what it

DevX - Software Development Resource

Hyperlinks opening a new browser

Question: I’m working on a Web site in Microsoft Front Page, and when I browse the home page in either Netscape of Internet Explorer, all the hyperlinks on the page

DevX - Software Development Resource

Calculating Averages Within Arbitrary Groups

Question: [Joe Celko’s Production Report Puzzle]We get a production report from work centers which has a date, center code and how many widgets were produced from each batch of raw

DevX - Software Development Resource

Nested Outer Joins

Question: [Joe Celko’s Outer (JOIN) Limits Puzzle]Gerard Manko at ARI had a problem in 1994 April. They had just switched over from Paradox to Watcom SQL. The conversion of the

DevX - Software Development Resource

What does AFX stand for?

Question: I see the term “AFX” everywhere in the MFC source code.For example, “AFX_MSG_MAP”. What does it mean? Answer: I once asked this of Jeff Harbers, one of the original

DevX - Software Development Resource

ODBC Versus SQL

Question: What are the disadvantages of ODBC versus SQL? Answer: ODBC is a generic implementation, whereas native SQL is always optimized for the database server being used. Thus, if you

DevX - Software Development Resource

Calculating and Using Averages

Question: Can I determine which employees have received a salary for a month that is more than twice the average salary in that month? I need to show:month_number, average salary,

DevX - Software Development Resource

Indexes in SQL

Question: Is it possible to set indexes between tables in SQL expression? Answer: You can establish indexes on SQL tables, but SQL indexes do not create an implied relationship between

DevX - Software Development Resource

What is the Moving Worlds proposal about?

Question: What are the key features of the Moving Worlds proposal? Answer: Moving Worlds is VRML 2.0 proposal from a consortium of companies, formed by SGI, who are interested in

DevX - Software Development Resource

Finding the Correct Row Based on Effective Date

Question: I have a table with three columns: the firstcontains the name of the currency, thesecond contains the currency rate and the third contains the actual date when thecurrency rate

DevX - Software Development Resource

Which VRML engines are available?

Question: Which rendering engines are used in VRML browsers and how do they affect my choice of browser? Answer: The library of functions that is used to create all the

DevX - Software Development Resource

Is there a preferred VRML browser?

Question: Is there a VRML browser most users prefer? If so, why? Answer: Well, if you’re Microsoft, then you may think that World View browser from Intervista Software is the

DevX - Software Development Resource

What is IBM’s VRML 2.0 proposal about?

Question: What are the key features of IBM’s VRML 2.0 proposal? Answer: Researchers at IBM Japan have proposed a reactive virtual environment. No Web references to the proposal were available

DevX - Software Development Resource

Case Sensitivity in Searches

Question: How can I ignore case when trying to SELECT allrecords that are LIKE a certain string variable? I have an employee’s name field in which the charactersare a combination

DevX - Software Development Resource

Formatting SQL Results

Question: I am trying to select data from three columns of a table listing all tables of a database. The table_name column is repeated with each separate column_namecolumn, hence the

DevX - Software Development Resource

Are there any examples of VRML 2.0 I can see now?

Question: What VRML 2.0 sites are there now? Answer: Yes, there are products available that have been developed with the same aspirations as VRML 2.0 (i.e., simulation of the real

DevX - Software Development Resource

What is Sun’s HoloWeb proposal about?

Question: What are the key features of Sun’s HoloWeb? Answer: Sun Laboratory’s HoloWeb proposal uses Java as an integrated real-time 3D animation scripting language. HoloWeb is a binary file format,