libpsynth 0.2.1
Namespaces | Functions
/home/raskolnikov/dev/psynth/trunk/src/psynth/base/misc.cpp File Reference
#include <cstdio>
#include <cstring>
#include <cmath>
#include <cctype>
#include "base/misc.hpp"
Include dependency graph for misc.cpp:

Namespaces

namespace  psynth
namespace  psynth::base

Functions

const char * psynth::base::get_extension (const char *file)
 Returns a pointer to the begining of the extension part of a file name string, defined as the first character after the last dot in the string or the begining of the string if no dot is in it.
int psynth::base::strcmp_i (const char *a, const char *b)
 Compares two strings without being case sensible.
char * psynth::base::itoa (int val, int base)
 Returns a the string representation of an integer.
char * psynth::base::ftoa (double f, double sigfigs)
 Returns a the string representation of a floating point.
string psynth::base::dirname_str (string str)