Du bist hier: Snippet-Verzeichnis » C/C++ (495)
Sprache:

Snippet-Verzeichnis - C/C++ 

Snippets

A fast ATan2 Function

If you are doing a lot of ATan2 you my find this to be faster than the library call.

Sprache: English | Programmiersprache: C++ | Autor: larsbb [nicht registriert]

A fast ATan2 Function

If you are doing a lot of ATan2 you my find this to be faster than the library call.

Sprache: English | Programmiersprache: C++ | Autor: larsbb [nicht registriert]

A linked stack implemetation.

It is a linked stack implemetation.A header file for a linked stack.

Sprache: English | Programmiersprache: C | Autor: kapo [nicht registriert]

A numeric class for hanling numbers and overflow in numeric.

Integer Overflow Handling. Overflow might occur when adding two integer types. If you do serious calculation, this overflow will be catatrofous. Thus 250+10 equal -5 when using signed char integer types. This can be solved simply by ...

Sprache: English | Programmiersprache: C++ | Autor: frigaard [nicht registriert]

A numeric rounding class.

Helper fun for num.h

Sprache: English | Programmiersprache: C++ | Autor: frigaard [nicht registriert]

A older question, sort data

End code. I use this code to sort 1000 unit, just a few second.

Sprache: English | Programmiersprache: C++ | Autor: zhanglihome [nicht registriert]

A patch for "telnet" under FreeBSD 4.4 release.

The pacth will enable "telnet" to transferfiles. Very useful for Copy-Paste in "telnet"to BBS systems in console mode.It is a difffile. So cd into /usr/src/usr.bin/telnet, then "patch < the_patch_file", ...

Sprache: English | Programmiersprache: C | Autor: kapo [nicht registriert]

A simple linked stack implementation.

It is a header for a linked stack.It is just a beginning and very simple.I submitted it just for testing.thanx.

Sprache: English | Programmiersprache: C | Autor: kapo [nicht registriert]

A test suite for the numeric class (num,h)

See num.h for details.This is the testsuite for the numerical overflow handler.

Sprache: English | Programmiersprache: C++ | Autor: frigaard [nicht registriert]

Absolute Value

Functions to replace abs() in glibc. I wrote these because I got bored during pre-calculus class and decided to play around with setting bits on my TI-86. This is the result of my experimentation.Enjoy! :)NOTE: these assume 32-bit ...

Sprache: English | Programmiersprache: C | Autor: gpltrans [nicht registriert]
RSS