Text to HTML Converter





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

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.
7
Date Submitted Fri. Aug. 4th, 2006 8:22 AM
Revision 1
Beginner plinge
Tags CPlusPlus | MFC
Comments 1 comments
Simple tests for dir and file existance. Path creation and removal.
31
Date Submitted Fri. Aug. 4th, 2006 9:43 AM
Revision 1
Syntax Master sundaramkumar
Tags CSS | HTML
Comments 3 comments
a simple css way to add shadow to tables and Divs
13
Date Submitted Fri. Aug. 4th, 2006 9:46 AM
Revision 1
Syntax Master sundaramkumar
Tags CSS | HTML
Comments 3 comments
Using styles we can add scrollbars for large table where the space is a constraint
8
Date Submitted Fri. Aug. 4th, 2006 9:54 AM
Revision 1
Syntax Master sundaramkumar
Tags DOM | HTML
Comments 1 comments
Add rows into a table dynamically using js,DOM
11
Date Submitted Fri. Aug. 4th, 2006 10:13 AM
Revision 1
Syntax Master sundaramkumar
Tags HTML | JavaScript
Comments 2 comments
This function will run all functions that are to be executed one by one on page load with specified/added orde
9
Date Submitted Sat. Aug. 5th, 2006 7:56 AM
Revision 1
Beginner delook
Tags HTML
Comments 1 comments
Put a break in a tooltip (limited chars)
10
Date Submitted Tue. Aug. 8th, 2006 1:19 AM
Revision 1
Beginner ciorga
Tags CPlusPlus | float | int | toString
Comments 1 comments
Transform any basic type to string. Very handy for log messages

Usage:

int i(12);
float j(3.14);
cout
8
Date Submitted Wed. Aug. 9th, 2006 6:12 AM
Revision 1
Helper bobbyrward
Tags C | conversion | CPlusPlus | hexadecimal
Comments 3 comments
Converts a string representation of a number with any base(binary, octal, decimal, hexadecimal, up to base 36) to a long int.