A Simple Sockets Framework





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

« Previous 1 2 3 Next »
8
Date Submitted Wed. Aug. 23rd, 2006 6:07 PM
Revision 1
Beginner billism
Tags ASCII | C | conversion | CPlusPlus | EBCDIC
Comments 2 comments
Convert an ebcdic buffer to an ascii buffer.
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.
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.
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
5
Date Submitted Sat. Sep. 8th, 2007 11:41 PM
Revision 1
Helper eldaniel
Tags CPlusPlus
Comments 0 comments
View swatch time in c++
3
Date Submitted Sat. Sep. 8th, 2007 11:46 PM
Revision 1
Helper eldaniel
Tags CPlusPlus
Comments 0 comments
Ackermann recursive.
5
Date Submitted Sat. Sep. 8th, 2007 11:49 PM
Revision 1
Helper eldaniel
Tags CPlusPlus
Comments 0 comments
Ordenate array with a queue.
5
Date Submitted Sat. Sep. 8th, 2007 11:52 PM
Revision 1
Helper eldaniel
Tags CPlusPlus
Comments 0 comments
Determine if a graph is bipartite.
9
Date Submitted Tue. Sep. 12th, 2006 1:29 AM
Revision 1
Beginner Headzoo
Tags http | PHP | Sockets
Comments 1 comments
Grab a remote web document using sockets, with limited handling for 301 & 302 redirects.
« Previous 1 2 3 Next »