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

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.
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.
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.
8
Date Submitted Wed. Oct. 4th, 2006 2:28 PM
Revision 1
Beginner reidhoch
Tags CPlusPlus
Comments 2 comments
Add this header after all your other headers. Compiles on standards compliant compilers.
8
Date Submitted Mon. Oct. 9th, 2006 6:38 AM
Revision 1
Helper shell
Tags 3D | CPlusPlus | GLUT | OpenGL
Comments 0 comments
This little function puts a string of a specified color and (centered) location. However, keep the word simple in mind. I purposfully not made it capable of supporting newlines.

By the way, this is my first snippet
8
Date Submitted Mon. Oct. 9th, 2006 6:46 AM
Revision 1
Helper shell
Tags CPlusPlus | Sockets | Winsock
Comments 0 comments
I made this a little while back for a friend who was having trouble learning sockets. Below are snf.h, snferror.h and example.cpp (a little example).

The example opens a "web server" at port 8080 on the machine. However, it displays just one page.

Have fun!
9
Date Submitted Mon. Oct. 9th, 2006 6:57 AM
Revision 1
Helper shell
Tags C | CPlusPlus
Comments 6 comments
I was coding a project that used arrays when the lack of a standard foreach in C/C++ got to me. So, I coded this little function to help me. It applies a function that returns int to each element of the array.
5
Date Submitted Mon. Oct. 30th, 2006 1:03 AM
Revision 1
Scripter SCoon
Tags C | CPlusPlus | Java | Ruby | String
Comments 3 comments
This class intended to collect TODO comments from java/c++/etc source files.

Example:

protected readFileData (String path) throws IOException {
// TODO: add try...catch block for IOException
InputStream is = new FileInputStream(path);
...
}


See also DirectoryScanner class.
5
Date Submitted Sat. Sep. 8th, 2007 11:41 PM
Revision 1
Helper eldaniel
Tags CPlusPlus
Comments 0 comments
View swatch time in c++