Tip Bank

DevX - Software Development Resource

Garbage collection process

Question: If i have a code like this in the while loop while (true){ java.util.date ldt_date = new java.util.Date() …} Will the ldt_date variable be initialized with new location in

DevX - Software Development Resource

ASCII Value Conversions

Question: How can I convert an integer ascii representationof a number to its character equivalent in astring form. For example A= 72 What procedure will take in int 72 and

DevX - Software Development Resource

Byte to string conversion

Question: A variable retrieves its contents in the byte form, since I require to convert into the string format . Which is the method used in java or rather how

DevX - Software Development Resource

Submitting a form with extra fields

Question: I have a form that has three popup menus on it (among other things), and a hidden text box. A value is placed in the hidden text field based

DevX - Software Development Resource

Avoid Exit Sub and Exit Function

It is bad programming practice to exit a subroutine or function at any point other than its end. If you want to bail out of a routine, and do not

DevX - Software Development Resource

Remote access server

Question: We have installed a Windows NT 4.0 server with remote access server service installed. I am able to connect to the NT server from home using a dial-up connection

DevX - Software Development Resource

String formatting

Question: Is there a function that will format a string for number or, say, $$ display? For example: format 1000000 to 1,000,000? Answer: No, the C standard has no such

DevX - Software Development Resource

Integer lengths

Question: What function gives the actual length of an integer or long integer? For instance, 8 is 1 long, 12345 is 5 long, etc. Answer: Use the sizeof() operator to