
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.
For beginning C++ programmers, operator overloading may seem like a complicated task, but in fact, it’s really simple. You can overload operators in two ways: On non-member functions. On member
everal years ago, Bill Watterson wrote a Calvin and Hobbes comic strip where Calvin asked: “How do they know the load limit on bridges, Dad?” and his father answers: “They
inding data to user interface widgets is only part of the story in complex applications. Many analysis and design methods result in objects that contain both data and behaviour. DataSet
This code snippet demonstrates how to use Oracle’s VARRAY through JDBC. The code: Creates VARRAYs of different lengths. Contains a table to store data of above array type. Stores the
his article will show you how to use Microsoft SQL Server’s Reporting Services Web service to install your reports and execute them from a smart client application. If you use
s more and more information fills our lives and clutters our inboxes, our ability to effectively read, filter, and process this information manually declines hand-in-hand. There is only so much
was always taught to leave a place cleaner than when I got there, and I hold my applications to the same standard. However, a recent Java project I worked on
ne of the fundamental data structures in computer science is the queue. You will recall that a queue is a data structure in which elements are removed in the same
he upcoming .NET framework version 2.0 has new features galore, one of which is the new ToolStrip control. The ToolStrip aims to unify and replace existing toolbars, menus, and status
Suppose you need to send a URL to a server, which then returns some content (the content can be HTML, XML, etc.). Using the .NET Framework’s WebClient method, you can
When you’re carrying out an database-intensive operations, like trying to insert a lot of records in one transaction or opening a bunch of connections at the same time, you run
This C# function creates and retrieves a named DataSet using an open connection and a command. public System.Data.DataSet dsReturnedDataSetFrom(System.Data.SqlClient.SqlConnectionsqlOpenConn, System.Data.SqlClient.SqlCommand TheSQLCommand, string TheQueriedTable, stringTheDatasetName){TheSQLCommand.Connection = sqlOpenConn;System.Data.SqlClient.SqlDataAdapter NewDA = new System.Data.SqlClient.SqlDataAdapter(TheSQLCommand);DataSet
When you’re learning about data structures, you’ll come across a very useful class called vector. It’s basically an array, but it stores its elements dynamically. That means that it can
In larger applications, a particular point of code can be achieved by multiple paths. This makes debugging that much more difficult. One alternative is to put debug statements in all
he Java virtual machine (JVM) specification dictates that any JVM implementation must include a garbage collector (GC) to reclaim unused memory (i.e., unreachable objects) [JVMS2 1999]. However, the behavior and
thorough understanding of Layout Managers is essential to building complex user interfaces in Java applications. The Standard Widget Toolkit (SWT) provides five different layout managers. This article uses simple examples
s a Web developer, tracking Web site traffic is just one of the many activities you need to do. You might want to know which pages are the most popular,
ML data is generally used to represent semi-structured or hierarchal data. Using XML documents as your data source allows you to receive XML documents from other sources and format the
n July, the Java Community Process released JSR 211, the Content Handler API (also known as CHAPI), for public review. The release counts as one of the most useful and
There is no need to restrict your users’ ability to use apostrophes or quote characters in input. This simple filtering technique allows unrestricted use of quotes and apostrophes, and can
This is in response to the tip Execute a Process Without a Hang. When I need to stdin, stdout and stderr at the same time, I use different threads to
This function returns TRUE if the string is a base64encoded. Otherwise, it returns FALSE. ‘AUTHOR: KEYUR KALARIA’DATE: JULY 24, 2004’VERY USEFUL FUNCTION AND COULD BE HANDY IF YOUR WORKING AROUND
Use this code to disable inheritance: class A;class Lock { friend class A;private: Lock() {}};class A : virtual public Lock { // …public: A() {} A(int t) {}}; Now, if
A method can take variable number of arguments. Method overloading is handy when the number of variations is finite?meaning that there is a small number of variations in the arguments
ini technology is an open architecture that enables Java developers to build distributed systems that are highly adaptive to change. As the complexities associated with building and managing service-based systems
ava and .NET have each enjoyed a period in the sun as the hottest programming technology. Java is still a big favorite in enterprises—and justifiably so: Java runtime environments exist
ML has now taken over the representation and storage of structured data in a textual format. No longer do we even have a need for new text formats because XML
ince the late ’90s there has been a significant move away from desktop applications in favor of Web-based thin clients. Part of the reason was the Internet boom; Web technologies
he Microsoft MapPoint Web Service lets you use industry-standard Web Service methods to interact with the extensive MapPoint database. However, if you are a MapPoint Web Service customer, you can
Have you ever had code like this? for ( int i = 0 ; i < m_iNumElements ; i++ ){ m_fVector[i] = m_pcFrustum->m_psViewProj->m_psProjection->m_someArray[i];{ This can be very frustrating. For every











