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 3

Data Access
Error/Exception Handling
Memory Management
Pointer Arithmetic
Virtual Functions
41-60 of 3957     Previous     Next
Controlling Whether a Web Page Posts Back to the Server on Client-Side Events
by Prafulla Doye
When handling an ASP.NET server-side button's Click event, you may want to do some client-side checking and possibly prevent the posting of a page back to the server.
Avoid Unwanted Browser Caching Using JavaScript
by Ramesh Nagaraj
Sometimes, you'll notice that when you open a URL (with dynamic content, and especially a pop-up window) a second time, the page displays the data which was displayed earlier and not the data newly expected.
Using a Built-In Shortcut to Add Properties to a Class
by Bill Harmon
After declaring your class, suppose you want to add individual element properties to that class. This process has been simplified in Visual Studio when working in C#.
Nested Functions in C++
by Alexander Ocher
Although C++ does not allow nested function declaration, you can simulate it using a structure with a static function.
Simplify Classic ASP Debugging in VS 2005
by Srinath MS
Like its predessor, VS 2005 does not allow you to debug classic ASP pages by default. Instead, you have to do it manually.
Handle Null in JavaScript with the "||" Operator
by Srinath MS
Instead of using the ternary operator to handle a null value and set the default values, you can use the "||" operator.
Explore the Statements and Parameters Passed to SQL Server
by Cindy Rodriguez
Find out exactly what statements and parameters are passed to SQL Server.
Using the Final Keyword in Java
by Ashu Passi
Learning the ins and outs of using Java's final keyword.
Changing the Style of a String in JavaScript
by Deepak Choudhari
JavaScript's String object provides funtions that change the style of the text while it displays in the UI.
Controlling Checkboxes in MFC
by Larry A. Mills, Sr.
The code in this tip shows how to check, uncheck, enable, and disable a checkbox in MFC.
Determine the Version of .NET on a Client PC Using JavaScript
by Srinath MS
Use JavaScript code provided in this tip to determine which .NET version is on a client PC.
Make an Immutable Class
by Devesh Gote
The code in this tip shows how to make an immutable class.
Avoiding Unnecessary Object Construction
by Budi Bong
One way to avoid unnecessary object construction is to use a reference instead of an object to store the unnamed temporary object returned by value.
How To Debug Classic ASP Pages in VS 2005
by Srinath MS
VS 2005, like its predessor, does not allow debugging for classic ASP pages, by default. This forces you to attach the ASP worker process (w3wp.exe).
Using the onMouseDragged Event in JavaFX
by Leonard Anghel
It's easy to implement a nice dragging effect in JavaFX, using the onMouseDragged event in conjunction with the bind operator.
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).
Fixing Settings and Configuration Errors in .NET
by Ed Churnside
Sometimes, adding default settings will result in your program throwing a generic error in the app.config file.
Build a Frame with a ScrollPane in JavaFX
by Leonard Anghel
What follows is a simple frame designed with JavaFX scripting language. The frame also has a ScrollPane component.
Finding Modulus of a Very Large Number with a Normal Number
by Sameer Palande
Divide the number into smaller numbers, then find the remainders of these smaller numbers. Add up the remainders and repeat the process. As long as the remainders are retained, the final answer wont change.
Loading Classes Directly from .jar Archives
by Leonard Anghel
Find out how to make a custom class loader to load classes directly from your .jar archives.
41-60 of 3957     Previous     Next
Thanks for your registration, follow us on our social networks to keep up-to-date