18 of 18
Previous
Next |
Understanding the Long Data Type in Java
by M S Sridhar
Language: Java, Expertise: Intermediate - See how Java long behaves differently when used with the letter L and without it.
|
Wrapping Unbuffered Writes to an OutputStreamWriter in Java
by Octavia Anghel
Language: Java, Expertise: Intermediate - OutputStreamWriter uses memory for each call to its write() methods. Learn why you should wrap it in a BufferedWriter.
|
Converting Between List and String Types
by Srinath MS
You can convert .NET Lists to delimited strings—and vice-versa.
|
Understanding Java's Integer Pool Can Avoid Problems
by Shreyas Pai
When apparently-equal integer values fail an equality test, remember the integer pool.
|
Create a Generic List at Run Time
by Srinath MS
This tip shows you how to create a generic list of a specified type at run time.
|
A Function to Determine Whether a String Can Be Converted to a Number
by Roberto Chiavolini
Find out how to determine whether a string can be converted to a number.
|
Converting Numbers to Strings
by Baddy R
Instead of writing your own function to convert an integer or float to a string, just use the C function snprintf (in the stdio.h header) or the C++ class stringstream (in the sstream header).
|
Displaying "Bit" Database Fields in Web Forms
by Srinath MS
When fields with 'Bit' Data Types are displayed on Web Pages, they shows as True/False, as opposed to showing the actual '0' / '1'.
|
Converting an Integer to a C++ String
by Jon Sumners
Boost libraries provide a better way to convert numbers into strings or vice versa.
|
Converting Numbers to Column Names in Excel 2007
by John P.
While converting to Excel 2007, I had to update the column number to string code in my program to handle columns of 703 and above (AAA). I found Yassine Moe's code and "simplified" it. This tip shows the results.
|
Converting from Centigrade to Fahrenheit and Vice Versa
by Jijesh Nair
Use the following code to convert from Centigrade to Fahrenheit and vice versa.
|
Using ANYDATA in Oracle 9i
by Shraddha Pandya
First introduced in Oracle 9i, ANYDATA is a "self-describing data instance type" which means it not only holds the value, but it also holds its own data type within each instance of it.
|
Avoid Memory Corruption when Assigning a CComBSTR to a CComVariant's bstrVal Member
by Alison Lomaka
Although the CComBSTR = operator is overloaded to make a copy of the string, this is not the case when assigning a CComVariant's bstrVal member to a CComBSTR.
|
Convert "Little-Endian" to "Big-Endian"
by Leonard Anghel
This tip outlines two simple methods that help you to convert a number from the "little-endian" format to the "big-endian" format.
|
Declare the Coolest XQuery Variables
by Leonard Anghel
This tip shows how to declare some important variables in XQuery.
|
Use Nullable Types to Assign a Null Value to Value-type Variables
by PalaniChamy VijayShankar
Learn how to use nullable types to assign a null value to value-type variables.
|
Typeid: Cross-Platform/Compiler Issues
by Amit Gupta
typeid should be used cautiously when an application is targeted for multiple platforms.
|
Convert Numbers to Excel Column Names
by Yassine Moe
This algorithm converts column numbers (1-x) to Excel column names.
|
18 of 18
Previous
Next |