RSS Feed
Download our iPhone app
Browse DevX
Sign up for e-mail newsletters from DevX

Search the Tips
Tip Bank > C++


Data Access
Error/Exception Handling
Memory Management
Pointer Arithmetic
Virtual Functions
1-20 of 116     Previous     Next
Using Cin.ignore() and Cin.get() Functions
by Octavia Anghel
Language: C++, Expertise: Intermediate — Learn how to not leave a terminating character in the stream.
Using -- and ++ Operators
by Octavia Anghel
Language: C++, Expertise: Beginner — Learn why you should try to use only unary operators for incrementing and decrementing variables.
by Octavia Anghel
Language: C++, Expertise: Intermediate — The assert macro will terminate the program, often with a message about the assert statement.
Find Compilation Time of any Code and Execution Time of any Command
by Arup Goswami
Language: C++||Expertise: Beginner
Generation of Equivalent Binary Code of Decimal Digits
by Arup Goswami
Language: C++||Expertise: Beginner
Generating Gray Codes in C
by Arup Goswami
Language: C++||Expertise: Beginner
A Simple String Class for Beginners
by Arup Goswami
A Simple String Class for Beginners
Palindrome Generation
by Arup Goswami
Palindrome Generation
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!
1-20 of 116     Previous     Next
Close Icon
Thanks for your registration, follow us on our social networks to keep up-to-date