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

Search the Tips
Tip Bank > C++

C++ - Page 4

Data Access
Error/Exception Handling
Memory Management
Pointer Arithmetic
Virtual Functions
61-80 of 3957     Previous     Next
Set Multiple Fonts Using Single CFont Object
by Jijeesh KV
Did you know you can set multiple fonts for several controls using a simple CFont object in MFC?
What Is the Smallest Object Size Possible in C/C++?
by Alexander Ocher
What is the smallest object size possible in C/C++? One.
How to Warn Users Before Their Browser Closes
by Deepak Choudhari
Suppose a user enters some information on the page and tries to close or navigate from the window—without saving the data. You may want to warn the user about possible data loss.
Create a Menu Bar with JavaFX
by Leonard Anghel
Here's a JavaFX example that creates a nice menu bar.
Invoke a Parent Window Function from Another Window in JavaScript
by Deepak Choudhari
Sometimes, you need to call a JavaScript function that's in a parent window from a child window.
Calling C Libraries from .NET
by Saroj Kabra
Use the following code to display a message box whenever the library raises an error.
Debugging SQL Server Stored Procedures Through Visual Studio.NET
by Srinath MS
Learn how to use Visual Studio.NET to debug SQL Server stored procedures.
How to Calculate the Alignment in C++
by Alexander Ocher
Learn how to use the Alignment class to calculate alignment in C++.
Using the innerHTML Property
by Ganjoo Anu
To change the text that appears when users chick on a button in your program, use JavaScript's innerHtml property.
Quickly Set the Project Build Order for a .NET Solution
by Srinath MS
You must manage the build order when some projects in the solution have dependencies on others; those projects that others depend on must be built first.
Prevent Inheritance from a Base Class
by Venkata Edara
Use the code in this tip to avoid deriving from your base class.
Add MS AJAX Extensions to a Visual Studio 2005 Setup Project
by Vlad Hrybok
MS AJAX Extensions is an assembly (DLL) that must be present on the target system in order for your AJAX-enabled ASP.NET application to work
How to Determine the Default Web Browser
by Alexander Ocher
Sometimes people assume that the default Web browser is the program that is registered in the Windows registry to open files with .html extension.
Obtain Class Methods Using Reflection
by Leonard Anghel
Learn how to obtain all methods, all declared methods, and one specific method for the java.lang.reflect.Method class.
Calling a Virtual Method from a Non-Virtual Method
by Venkata Edara
How can you tell which f2() will be invoked: A::f2() method or B::f2()?
Convert a Date to mm/dd/yyyy Format in JavaScript
by Deepak Choudhari
The following code snippet provides a quick way to display a date in mm/dd/yyyy format.
Get into the Habit of Preventing Bugs in if Statements
by Jacob Lund Fisker
Unintentionally using = instead of == in an if statement can prove a nasty source of bugs.
Use an XMLReporter for Report Customizable Errors in StAX Applications
by Leonard Anghel
Find out how to customize the error reports in StAX applications.
Override a Child Class' Parent Method
by Anthony Burke
Here's a workaround to override a child class' parent method with a more granular return type.
Extending the Existing CLR Type
by Naresh Rohra
With .NET 3.0, you can extend any existing CLR type by adding one or more public methods to it—without recompiling the library
61-80 of 3957     Previous     Next
Thanks for your registration, follow us on our social networks to keep up-to-date