The Emergent Properties of Meat
Blog
Software
Hardware
About me
Photography
 Logos
Bigger projects: emc2 & AXIS
Friends' pages:
Alex
Bill
Chris
Jon
Michael
Email me: jepler@unpy.net

« l2h: A new converter from LyX to HTML (updated) | Newest entries | Making a YouTube video of X program »

void URLDecoder::getAsDec(char* hex) {
    char tmp = tolower(hex[0]);
    if(tmp == 'a') {
        strcpy(hex,"10");
    }else if(tmp == 'b') {
        strcpy(hex,"11");
    }else if(tmp == 'c') {
        strcpy(hex,"12");
    }else if(tmp == 'd') {
        strcpy(hex,"13");
    }else if(tmp == 'e') {
        strcpy(hex,"14");
    }else if(tmp == 'f') {
        strcpy(hex,"15");
    }else if(tmp == 'g') {
        strcpy(hex,"16");
    }
} 
I am not making this up.



Powered by the Emergent Properties of Meat. Copyright © 2004-2007 Jeff Epler
[æ]