You're here: Snippet Directory » C/C++ (495)
Language:

Snippet Directory - C/C++ 

Snippets

Integrated Search using Parabolic, Bracket, and Downhill

This routine provides an optimization (on y, minima or maxima) search of a function with one independent variable, y=f(x). The three search methods of parabolic, bracket, and downhill are integrated in that prioirity sequence. The method ...

Language: English | Programming Language: C | Author: n_nelson [not registered]

Interpolation class

This pair of classes can be used to interpolate points between a given range. You simply have to call "interpole" method with adecuate parameters and it will return a linked list of points to interpolate the two given.

Language: English | Programming Language: C++ | Author: oscarp [not registered]

Interval Tree

A class for efficient stabbing queries of large numbers of closed intervals. If you have a list of floating point intervals and you want to find which ones contain a given point, this is the class for you. The major assumption is that you ...

Language: English | Programming Language: C++ | Author: dct [not registered]

IP Steganography 2-way communicator

This snippet uses the TCP SYN ISN 32 bit field to send messages to other users. It has the IP ID field option (commented out at this time) as well. This was a research project I was working on, but got too busy to continue it, any ...

Language: English | Programming Language: C | Author: no_operation [not registered]

Is floppy ready

Very simple WIN32 API call sample to determine whether your floppy drive is ready and has a disc inserted

Language: English | Programming Language: C | Author: theflyguy [not registered]

ISO source for copy in C++

Unlike many disk programs, which claim to be in C++ (and are actually in bad C), this is actually uses file io from C++. Just another simple function to copy a file. Possible improvements: change so it writes reads more than 1 byte at a ...

Language: English | Programming Language: C++ | Author: rigelf [not registered]

ISO source for copy in C++

Unlike many disk programs, which claim to be in C++ (and are actually in bad C), this is actually uses file io from C++. Just another simple function to copy a file. Possible improvements: change so it writes reads more than 1 byte at a ...

Language: English | Programming Language: C++ | Author: rigelf [not registered]

ISO source for copy in C++

Unlike many disk programs, which claim to be in C++ (and are actually in bad C), this is actually uses file io from C++. Just another simple function to copy a file. Possible improvements: change so it writes reads more than 1 byte at a ...

Language: English | Programming Language: C++ | Author: rigelf [not registered]

itoa

itoa - convert an integer to ascii, thereverse of atoi

Language: English | Programming Language: C | Author: noselasd [not registered]

itoa

itoa - convert an integer to ascii, thereverse of atoi

Language: English | Programming Language: C | Author: noselasd [not registered]
RSS