devxlogo

Tip Bank

Creating Files Using FileOutputStream

You accomplish basic file I/O in Java using data streams. The most basic file I/O operations in Java use the functionality offered by these classes: FileInputStreamFileOutputStream If you’re new to

The Underlying Representation of NULL

C and C++ define NULL differently: #define NULL 0; // A typical definition of NULL in C++ #define NULL ((void*)0) // C defines NULL this way Why is it defined

Creating an HTML Directory in ASP

Although most Web servers give you the option of allowing users to view the list of files in a Web site directory, you may not want to show some types

Nested Namespaces Reduce Name Clashes

Nested namespaces are useful in large-scale projects, whereby every development team gets a dedicated namespace within the project’s namespace. Nested namespaces reduce the likelihood of name clashes among different teams

Quick and Dirty Tickmarks

The JSlider component can be customized so that its labels, track, and tickmarks (or any combination of the three) are hidden. Unfortunately, there’s no way to turn off the slider