









Application Design and Passwords
Question: How do you protect an application with a password and store it in the application’s exe-file? Answer: You’d have to hard code the password in. Then in the FormCreate
Question: How do you protect an application with a password and store it in the application’s exe-file? Answer: You’d have to hard code the password in. Then in the FormCreate
Question: I’m developing a program that lists all of a shop’s clients and the items that they purchased. The problem is that if some clients haven’t bought anything, they don’t
The way you create a set of radio buttons is significantly different between Swing and the AWT. With Swing, you instantiate the buttons and add them to a group object
Radio buttons behave in the same mutually exclusive way in Swing and the AWT. However, the way that you create a set of radio buttons differs significantly between Swing and
Using Swing, you can easily create hidden buttons similar to the Back button used in Netscape Communicator 4. Hidden buttons look like normal graphic elements on the screen until you
Infrastructure functions that are used extensively should adopt the “trust the programmer” policy by not performing additional error checking. This policy is widely used in C/C++ standard libraries. For example,
An empty class doesn’t have any data members or member functions. You’d think that the size of an object of such a class would be zero. However, the Standard states
Andrew Koenig devised an algorithm for resolving namespace members’ lookup. This algorithm is used in all standard-conforming compilers to handle cases like the following: namespace MINE { class C {};
A string literal is a sequence of one or more characters enclosed in double quotes: cout