Login | Register   
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


advertisement
Search the Tips
Tip Bank > C++

C++

Algorithms
Classes
Coding
Compilers
Data Access
Debugging
Error/Exception Handling
Functions
Memory Management
Mfc
Operators
Overloading
Pointer Arithmetic
Profiling
Scripting
STL
Virtual Functions
1-20 of 3954     Previous     Next
String Literals and Values with Backslash Escape Character in C# and C++\CLI
by Boris Eligulashvili
Java Tip: Optimization Technique for Lists
by Deepak Tyagi
An ArrayList that is not initialized with the proper size can slow your Java application's performance.
Use Comparison Operators in SQL to Remove/Return Columns with Null Values
by Srinath MS
When you use the comparison operators in SQL with the Where clause, you can remove the columns with null values.
Build One Application Version for Both Windows XP and Windows Vista
by Shao Voon
You don't have to compile two different versions to get applications that run correctly under both Windows XP and Windows Vista.
Serialize Any .NET Object to a JSON String
by Deepak Choudhari
With JSON's popularity increasing by leaps and bounds, you'll find this technique useful.
ASP.NET Workaround: Calling a JavaScript Function from a HyperLinkField in a GridView
by Srinath MS
You can call a JavaScript function when a user clicks a HyperLinkField in a GridView control—you just need to use this workaround.
Use Enumeration Instead of SAFEARRAY to Get an Array's Elements
by Shao Voon
C++'s SAFEARRAY is difficult to use. A better option is to enumerate an array's elements by repeatedly calling your own custom enumeration function and incrementing the element index.
Detect Recursive Calls in Your .NET Code
by Michel Posseth
Using System.Diagnostics, you can check the recursion levels in your code.
Create a Page Containing a Two-Column Table with Struts
by Gaurav Saini
Sometimes scriptlets can help solve problems, like when you need to iterate over a collection object and display its data in a two-column table.
Portable Functions to Check for NaN and Infinity
by Alexander Ocher
These versions of isNaN() and isInf are portable across C++ compilers.
Create an Interface from a Class in Visual Studio
by Srinath MS
Use Visual Studio's refactoring features to extract class methods into an interface.
A Quick Way to Generate Properties in Visual Studio C# Projects
by Srinath MS
Don't write property setters and getters by hand--generate them!
Achieve Syntax Brevity with Anonymous Classes and Instance Initializers
by Abdul Salam
Shorten your code using these techniques.
Adding Workdays to a Date
by Chad Juliano
To calculate a future or past date taking only working days into account, use this handy function.
Running 32-bit Applications with 32-bit DLLs on 64-bit Operating Systems
by Prafulla Doye
Applications can load 32-bit DLLs only in 32-bit mode.
Using the deployment Element's retail Attribute
by Nagaraj Ramesh
This attribute inhibits settings used to support web application development.
Using SetForegroundWindow on Windows Owned by Other Processes
by Alexander Ocher
Find out how to specify which window should appear in the foreground—even if it's running on a different thread.
Decoding General Compiler Error Messages
by Kumar Arvind
The information in this tip can help C++ beginners decipher some common general compiler errors.
Using the Triple Equals Sign Operator (===) to Check Variable Type and Value
by Aneel Maheshwari
This single operator tests variables for equivalency—both type and value—in one line.
Determining Merge Errors in a Typed DataSet
by Srinath MS
Discover the underlying cause of Merge Constraint errors when merging DataSets.
1-20 of 3954     Previous     Next
Sitemap