int charToInt ( int  start,
int  end,
char *  filebuff 
)

Definition at line 4 of file misc.cpp.

00004                                                  {
00005     int counter = end;
00006     int deziCount = 1;
00007     int tempValue = 0;
00008     while( counter >= start ){
00009         tempValue = tempValue + (filebuff[counter] - '0') * deziCount;
00010         counter = counter - 1;
00011         deziCount = deziCount *10;
00012     }
00013     return tempValue;
00014 }


Generated on Wed Jun 25 14:46:49 2008 for keyvil by  doxygen 1.5.1