| | |
Description | Compatibility | Level/ Author | Views/ Date Submitted | User Rating |
| |
| |
 |
A tcp client/server example using BSD model | C++ (general), UNIX C++ | Beginner / John Bell | 21674 since 7/16/2003 2:14:51 AM | Unrated
|
| |
This shows the basics of writing to and reading from a socket in the BSD sockets model.
This is the client for my tcpecho server...the code for the server is included again in the zip....also a readme with sample compile instructions. |
| |
| |
| |
 |
a very simple port scanner | C++ (general), Microsoft Visual C++, UNIX C++ | Intermediate / John Bell | 25551 since 5/24/2004 4:20:35 AM |
By 3 Users 2 Excellent Ratings
|
| |
This is a very simple port scanner. Its the first semi-useful sockets program I have written. I have included a windows version and a linux version... enjoy. |
| |
| |
| |
 |
Alphabetic Sort Using Binary Trees | C++ (general), Microsoft Visual C++, UNIX C++ | Intermediate / John Bell | 5773 since 7/23/2003 5:58:11 AM | Unrated
|
| |
This shows how to implement fast alphabetic sorts/searches using binary trees...doing this work in a linear fashion if you have large numbers of items takes exponentially more time.. |
| |
| |
| |
 |
ansi/unicode string class | Microsoft Visual C++, Borland C++ | Intermediate / John Bell | 4572 since 5/15/2003 1:03:43 PM | Unrated
|
| |
This code creates a string class that is compatible with 8 bit ansi or 16 bit unicode depending on the platform. In addition to all the standard overloaded operators, it also contains a set of vb-style string handling methods....cheers fallenhobit..ps thi ...(description truncated) |
| |
| |
| |
 |
Binary Tree Example | C++ (general), Microsoft Visual C++, Borland C++, UNIX C++ | Intermediate / John Bell | 5846 since 7/22/2002 6:37:00 AM |
By 2 Users
|
| |
This is an extra credit project I wrote for my first semester of data structures. It is a guessing game that learns from the users responses and gets better and better at guessing the users animals the longer the user plays the game. It is pretty cool I m ...(description truncated) |
| |
| |
| |
 |
Bypassing Security Policies for Hidden and System files | C++ (general) | Intermediate / John Bell | 3389 since 11/10/2003 5:42:00 AM | Unrated
|
| |
Purpose: This creates my own crude open/save file dialog.... That lets me bypass explorers security settings... IE we an see any file despite
policy settings to hide certain system files, ect...once a file is selected
, it is ripped to a temp file and ope ...(description truncated) |
| |
| |
| |
 |
C++ Sockets for Beginners | C++ (general), Microsoft Visual C++, UNIX C++ | Intermediate / John Bell | 10441 since 3/19/2003 4:13:05 AM |
By 3 Users
|
| |
This shows how to use a great sockets library I found. I wrote this for a friend of mine. The library allows anyone with intermediate c++ knowledge to do sockets programming....The library is compatible with Unix and Windows. |
| |
| |
| |
 |
Calling C++ code from Java | Microsoft Visual C++ | Beginner / John Bell | 2731 since 6/16/2003 7:41:10 AM | Unrated
|
| |
Purpose: Trivial example of native code callable from java.
Comments: The Basic procedure is to write your java classes
declaring methods that are to be written in c as
"public native yadda yadda" ... then run "javah -jni yadda yadda"
on the class file. ...(description truncated) |
| |
| |
| |
 |
checking for program updates | C++ (general), Microsoft Visual C++, Borland C++ | Intermediate / John Bell | 3794 since 6/12/2004 5:28:52 PM | Unrated
|
| |
This code article describes one method of having your program determine if an updated version is availible. |
| |
| |
| |
 |
clear command for cygwin | C++ (general), Microsoft Visual C++, Borland C++, UNIX C++ | Beginner / John Bell | 6809 since 7/7/2003 1:21:41 PM | Unrated
|
| |
Creates the missing clear command for cygwin, the linux emulator for windows. |
| |
| |
| |
 |
Clipboard Extender | Microsoft Visual C++ | Intermediate / John Bell | 1679 since 8/8/2004 5:57:47 PM | Unrated
|
| |
This program creates a kind of buffer that tracks the last three ctrl+c/ctrl+x operations that involved text. This allows the user to be able to paste the last three text copy/cuts. |
| |
| |
| |
 |
copying files the proper way | C++ (general), Microsoft Visual C++, Borland C++, UNIX C++ | Beginner / John Bell | 4344 since 8/11/2003 4:47:33 AM |
By 2 Users
|
| |
My code demonstrates the common method of copying files in code, and the right method for doing it. The commonly used method I see will sometimes fail if the file is an executable or an image file. |
| |
| |
| |
 |
crawling inside aol's process | Microsoft Visual C++ | Intermediate / John Bell | 3483 since 6/14/2003 8:53:38 AM | Unrated
|
| |
Author: John Bell aka Fallenhobit
Date: 06/14/03
Purpose: This project is my final AOL fader project. I would say it is the culmination of two years worth of intermitten
research into the various ways to write these gayol programs. with aol versions 7 an ...(description truncated) |
| |
| |
| |
 |
Creating Shell Links with win32 api | Microsoft Visual C++ | Beginner / John Bell | 4332 since 8/12/2003 10:35:46 PM |
By 2 Users
|
| |
A Shell Link is an object like the start menu items or desktop shortcuts. Objects like that. You don't have to use ATL or MFC to use COM and create these though. This code shows how to do it. |
| |
| |
| |
 |
Creating win32 apps with classes | Microsoft Visual C++ | Intermediate / John Bell | 2244 since 4/15/2003 3:24:49 AM |
By 1 Users
|
| |
This is the actual source for how to create an app using a class and thus elliminate the use of global variables in win32 applications...I uploaded the wrong source files in the first attempt...5 am and all=0) |
| |
| |
| |
 |
cryptographically secure random numbers | Microsoft Visual C++, Borland C++ | Intermediate / John Bell | 2883 since 10/29/2003 4:31:52 AM |
By 1 Users
|
| |
This code generates either one number, or a sequence of numbers, based on a crytographically secure seed value. It depends on a call to CryptGenRandom. See the code for details... |
| |
| |
| |
 |
Detecting covert dll injection | Microsoft Visual C++, Borland C++ | Intermediate / John Bell | 2515 since 8/31/2004 2:47:44 AM |
By 1 Users
|
| |
This code detects the technique my last code project demonstarted. It detects if a process has any extra dlls loaded using EnumProcessModules and CreateToolhelp32Snapshot. |
| |
| |
| |
 |
Difference between new and placement-new | C++ (general), Microsoft Visual C++, Borland C++, UNIX C++ | Intermediate / John Bell | 1850 since 6/27/2004 1:41:24 PM | Unrated
|
| |
This is an update to a previous post. It deomonstrates what "placement-new" is. This is an overloaded form of the usual "new" allocation operator. |
| |
| |
| |
 |
Dumb Pointer Tricks | C++ (general) | Beginner / John Bell | 3764 since 1/23/2003 5:15:56 AM |
By 1 Users
|
| |
Just an example of dump pointer tricks. |
| |
| |
| |
 |
Embedded HTML | Microsoft Visual C++ | Advanced / John Bell | 2448 since 12/23/2002 3:52:19 AM | Unrated
|
| |
This is an example of one method of loading HTML files compiled into your exe as a resource...This allows you to compile your application's help files directly into the executable and load them from it at run time....pretty cool trick ehhh? |
| |
| |
| |
 |
Encryption Using Assembly | Microsoft Visual C++, Borland C++ | Intermediate / John Bell | 4675 since 7/24/2004 11:46:16 PM |
By 1 Users
|
| |
Encodes a text file using a modified morse encoding scheme.The result is a valid asm file that can be assembled and linked using MASM (http://www.masm32.com/). The exe will function (though it won't do anything). Running the exe through this program will ...(description truncated) |
| |
| |
| |
 |
Fun With Pointers 3 | C++ (general), Microsoft Visual C++, Borland C++, UNIX C++ | Intermediate / John Bell | 1699 since 6/24/2004 2:54:38 AM | Unrated
|
| |
This shows how to use pointer casting to allocate one large memory block and break of pieces as needed for dynamic memory needs. This would eliminate numerous calls to "new"(which is really malloc), which means alot less function calls in an application t ...(description truncated) |
| |
| |
| |
 |
GetWindowPath | Microsoft Visual C++ | Intermediate / John Bell | 2535 since 8/28/2002 6:02:40 AM | Unrated
|
| |
This class takes an HWND handle via the mouse position and traces it's path pack to the
top level parent. It has the ability to save this path as a file, and to load a saved
path and find and return the handle to the window that path traces. This may no ...(description truncated) |
| |
| |
| |
 |
How to compile sound files directly into an exe. | Microsoft Visual C++ | Intermediate / John Bell | 4725 since 8/20/2002 4:20:12 AM |
By 4 Users 4 Excellent Ratings
|
| |
Shows a technique for having wav files compiled directly into an executable. |
| |
| |
| |
 |
How to create a VB style form using mfc | Microsoft Visual C++ | Beginner / John Bell | 2278 since 7/2/2002 7:58:36 AM | Unrated
|
| |
It is an example of how to create a VB style form using mfc. (ScreenShot) |
| |