We are an award-winning tech entrepreneurship website where trusted experts can provide value globally.

Since 1998, DevX has helped people start businesses, build websites, and provide enterprise technology to people globally. Interviewing the likes of Microsoft’s co-founder, Steve Ballmer, the publication brings comprehensive, reliable, and accessible insights to the Internet.

devxlogo

Trusted for 26 years

Over 30K Articles

1M+ Readers

Expert-reviewed

10K+ Tech Terms

As seen in:

microsoft logo
business_insider_logo
wired_logo
berkley
arstechnica_logo
hackernoon

The Latest

DevX

Documenting the contents of a .PBL file

Question: Is there a third-party tool (or a functionalitynative to PB) with which I can print the *entire*contents of a .PBL file, preferablyin a way that’s meaningful? I have in

DevX

Parse string to float or double

Question: Is there a command Float.parseNumbers(s) that returns a float? Answer: Sure, parseInt(s) is simply: Integer temp = Integer.valueOf(s); int x = temp.intValue();which has an equivalent for floats Float temp

DevX

Type casting

Question: I’ve read the following example about type casting: int i; float f; f=float(i);Can you explain what happens to variables f and i on line 3, and could you give

DevX

How does one overload operator->*()?

Question: How does one overload operator->*()? Answer: Here is an example:struct bar { void doSomething();}struct foo { bar *operator ->* () { return bar_; }}void Foo (){ void (bar::*barFn)() =

DevX

I/O stream and opening to a file

Question: I have a completed program coded as a bubble sort. I must now read and write to a file. I am using fstream.h and coding an input for the

DevX

Exception specifications

Question: I recently learned that the C++ draft standard requires that an implementation not perform any static checking on a function’s exception specification (aside from inherited virtual functions and function

DevX

Gaining control after form is minimized

Question: I have a Delphi app that displays a bitmap, and I control drawing on the canvas object as one might on a paper roadmap. This works fine. When I

DevX

Template functions in classes

Question: Can I overload the >> operator in a class for all integral types using a template? If so, how? Answer: The short answer is no.The long answer?Templates are mechanisms

DevX

Meaning of const as prefix and suffix of function

Question: What is the purpose of placing a const at the beginning and end of a function declaration with a de-reference to the function? Are there memory leak implications?For example:

DevX

Truncating and converting floats

Question: I am trying to truncate and then convert a float to a string. Something like atoi().Is this possible? Any suggestions? Answer: float f = 1.234;int i = f;strstream s;s

DevX

C++: truncating and converting floats

Question: I am trying to truncate and then convert a float to a string. Something like atoi().Is this possible? Any suggestions? Answer: float f = 1.234;int i = f;strstream s;s

DevX

Stacking frames

Question: Can you tell me how to stack frames? I am currently using three frames and need to add a fourth. My layout looks like this:TopLeft | ContentI need to

DevX

Loading text before images

Question: How can my browser load text before images? Answer: If you define the dimensions of all of the images that you are calling (i.e.) your browser will display thetext

DevX

Getting rid of the frame focus black border

Question: Is there a (JavaScript? HTML?) way to get rid of the black rule (focus border) surrounding a frame after it has been clicked?I am in the process of designing

DevX

List boxes: Default values

Question: In a pop-up list, how do you get the value associated with the default value to appear in the listbox before clicking on the field? For example, I have

DevX

Remote Access to NetWare

Question: How can I access my Novell NetWare file server via FTP? Answer: FTP Services is included with Novell’s IntranetWare 4.11 network operating system. Running an FTP server allows wide-ranging

DevX

NetWare Directory Maps

Question: What are directory maps and how can I use them? Answer: Directory maps are an exciting new feature with IntranetWare 4.11 that allow users to map server directories effortlessly,

DevX

How can I send email from Oracle?

Question: How can I send email from Oracle? Answer: A recurring question on Oracle developer listsis how to send email from “within” Oracle. One might want a certain event in

DevX

How can I write to OS files from Oracle?

Question: How can I write to OS files from Oracle? Answer: Oracle version 7.3 supports directreading and writing of operating system files from within Oracle.In particular, the utl_file package enables

DevX

Using views to improve performance

Question: We are building a Web-based interface for an existing database. We’reusing a SQL interpreter that runs the queries, then sends them to theserver without the need for a client

DevX

Date format

Question: My application (RIS) converts a date in an integer to store it in a Database. Integer = x seconds after 1.1.1970 (for ex., 709444800). I want to make a

DevX

Datawindow bands problem

Question: Occasionally I have found that after creating an executable, the bands in some of my datawindows have been repositioned to the top of that particular datawindow, causing a blank