int __print( string s )
|
prints a string to the standard
output stream
|
int __println( string s )
|
prints a string to the standard
output stream and appends a new line
|
int __errorln( string s )
|
prints a string to the error
stream and appends a new line |
void __sleep( int iDelay )
|
suspends the program execution
for iDelay ms
|
int __loaddll( string s )
|
load the module with a given
name, returns the handle for the module
|
int __unloaddll( int hDll )
|
frees the module
|
long clockms()
|
return the clock value in ms
|
|
|
int sizeof( expression ) |
returns the size of the
expression type
|
|
|
int fopen( string sFileName, string sMode ) |
opens a file in sMode (usual
file-modes from <stdio.h>)
|
int fclose( int hFile ) |
closes a file
|
int feof( int hFile ) |
checks a file for end-of-file
status
|
int ferror( int hFile ) |
checks a file for error status
|
int fputs( string sText, int hFile ) |
writes a string into a file
|
int fgets( string & sText, int hFile ) |
reads a string from a file
|
|
|
int current_time_hour()
|
return the hour value of the current time
|
int current_time_minute()
|
return the minute value of the current time
|
int current_time_second()
|
return the second value of the current time
|
int current_date_year()
|
return the year of the current date
|
int current_date_month()
|
return the month of the current date
|
int current_date_day()
|
return the day of the current date
|
|
|
string getenv( string sName )
|
reads an environment variable
|
int putenv( string sNameValue )
|
writes an environment variable
|
void exit( int iValue ) |
exits the program imediately
with the exit-code iValue |
int system( string sCmd )
|
system call, runs
(synchroniously) the command in the string sCmd
|
bool splitpath(
string sFullPath, string & sDrive, string & sPath, string &
sName, string & sExt )
|
splits a given path in
substrings for drive, path, name and extension |
|
|
int string_read() |
reads a string from the standard
input and returns the string |
int string_npos()
|
returns a integer constant to
show that the find-function was not successfull
|
int string_length( string s )
|
returns the length of the string
|
char string_at( string s, int iPos )
|
returns the character in the
string at the given position
|
string string_setchar( string s, int iPos, char ch )
|
returns a string with the
changed character at the given position
|
int string_find( string s, string sSearch )
|
returns the position of the
sSerach-string in the string s, returns string_npos() if the search
string was not found
|
string string_substr( string s, int iStartPos, int iLength )
|
returns a substring of the given
string
|
string string_insert( string s, int iPos, string sInsert )
|
returns a string in which the
sInsert string is inserted in the string s
|
string string_erase( string s, int iPos, int iLength )
|
returns a string in which the
given range is erased
|
string string_replace( string s, int iPos, int iLength,
string sReplace )
|
returns a string in which a part
of the string is replaced by another string
|
|
|
double fabs( double d )
|
returns absolute value of d
|
double sin( double d )
|
returns the sinus of d
|
double asin( double d )
|
returns the arcus-sinus of d
|
double sinh( double d )
|
returns the sinus hyperbolicus
of d
|
double cos( double d )
|
returns the cosinus of d |
double acos( double d )
|
returns the arcus-cosinus of d |
double cosh( double d )
|
returns the cosinus hyperbolicus
of d |
double tan( double d )
|
returns the tangens of d
|
double atan( double d )
|
returns the arcus-tangens of d
|
double atan2( double d1, double d2 )
|
returns the arcus-tangens of d |
double tanh( double d )
|
returns the tanges hyperbolicus
of d
|
double sqrt( double d )
|
returns the squareroot of d
|
double exp( double d )
|
returns the e the power of d
|
double log( double d )
|
returns the logarithm of d
|
double log10( double d )
|
returns the logarithm for base
10 of d
|
double pow( double d1, double d2 )
|
returns the power of d1 by d2
|