ranking Sort Sort   |   date Sort Sort   |   member Sort Sort
Syndication

« Previous 1 2 3 Next »
-6
Date Submitted Thu. Oct. 13th, 2005 7:26 PM
Revision 1
Coder mattrmiller
Tags CPlusPlus | Path | Verify
Comments 2 comments
Verify Path Exists
-11
Date Submitted Thu. Oct. 13th, 2005 7:29 PM
Revision 1
Coder mattrmiller
Tags CPlusPlus | Empty | String
Comments 2 comments
Is String Empty
-7
Date Submitted Thu. Oct. 13th, 2005 7:34 PM
Revision 1
Coder mattrmiller
Tags "Email Address" | CPlusPlus | Validate
Comments 4 comments
Validate Email Address
-4
Date Submitted Thu. Oct. 13th, 2005 7:36 PM
Revision 1
Coder mattrmiller
Tags CPlusPlus | Numeric | String
Comments 2 comments
Is String Numeric
-3
Date Submitted Wed. Oct. 26th, 2005 10:33 PM
Revision 1
Coder mattrmiller
Tags CharFont | Compare | CPlusPlus
Comments 1 comments
Compare Two CharFont's
-6
Date Submitted Wed. Oct. 26th, 2005 10:34 PM
Revision 1
Coder mattrmiller
Tags CPlusPlus | Time
Comments 4 comments
Get Current CTime
3
Date Submitted Tue. Nov. 8th, 2005 8:56 PM
Revision 1
Beginner jpeck
Tags Convert | CPlusPlus | HTML | Text
Comments 0 comments
Text to HTML Converte
-15
Date Submitted Wed. Nov. 9th, 2005 7:55 PM
Revision 1
Beginner vinnie
Tags CPlusPlus | XML | XSL
Comments 3 comments
Transform XML File with XSL Stylesheet
10
Date Submitted Thu. Aug. 3rd, 2006 11:54 AM
Revision 1
Helper bobbyrward
Tags boost | CPlusPlus | preprocessor | shared_ptr
Comments 0 comments
template function to create a boost::shared_ptr in the form

boost::shared_ptr classPtr = new_ptr(Arg1, Arg2);

You can also make new_ptr_access a friend of className and make the constructor and destructor private.

This keeps the end user from:

Creating an instance manually on the heap
Creating an instance manually on the stack
Deleting a shared_ptr manually using "delete get()"
6
Date Submitted Thu. Aug. 3rd, 2006 12:10 PM
Revision 1
Helper bobbyrward
Tags boost | CPlusPlus | Format | printf
Comments 0 comments
boost::format gives you the ablility to safely use printf like formatting as well as positional format specifiers ala .NET.
« Previous 1 2 3 Next »