home *** CD-ROM | disk | FTP | other *** search
/ PC Administrator / spravce.iso / TaskModule / src / smlcrt.h < prev    next >
Encoding:
C/C++ Source or Header  |  2001-08-31  |  2.0 KB  |  46 lines

  1. /*
  2. Copyright 2001 Anish Mistry. All rights reserved.
  3.  
  4. Redistribution and use in source and binary forms, with or without modification,
  5. are permitted provided that the following conditions are met:
  6.  
  7.    1. Redistributions of source code must retain the above copyright notice, 
  8.    this list of conditions and the following disclaimer.
  9.    2. Redistributions in binary form must reproduce the above copyright notice,
  10.    this list of conditions and the following disclaimer in the documentation 
  11.    and/or other materials provided with the distribution.
  12.  
  13. THIS SOFTWARE IS PROVIDED BY ANISH MISTRY ``AS IS'' AND ANY EXPRESS OR IMPLIED 
  14. WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY 
  15. AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS 
  16. OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
  17. OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
  18. GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
  19. CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
  20. TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
  21. SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  22.  
  23. The views and conclusions contained in the software and documentation are those
  24. of the authors and should not be interpreted as representing official policies,
  25. either expressed or implied, of Anish Mistry or AM Productions.
  26.  
  27. * Variation of the FreeBSD License. http://www.freebsd.org/copyright/freebsd-license.html
  28. */
  29.  
  30. #ifndef _SMLCRT_H
  31. #define _SMLCRT_H
  32.  
  33. #if _MSC_VER > 1000
  34. #pragma once
  35. #endif // _MSC_VER > 1000
  36.  
  37. // prototypes
  38. char GetAlphaNum(const int &num);
  39. int Atoi(const char *str);
  40. const char *Itoa(int num,char *buffer);
  41. //unsigned int Pow(const int &num,const int &power);
  42. char * GetFileDirectory(const char *pProgramPath,char *pCurrentDirectory);
  43. void SetAppDirectoryAsCurrent(void);
  44.  
  45. #endif
  46.