MCU/v50z-test-suite6/src/ra/raConfig.cpp
int raConfig::findKey( const char * fieldName )
{
    for(int i = 0; i < this->length; i++ ) {
        if( strcmp( this->fields[i], fieldName )== 0 ) {
            return i;
        }
    }
    return -1;
}
/**
 * Vraci klic v poli nebo -1 
 */
Vraci klic v poli nebo -1
Vraci klic v poli nebo - 1
int raConfig::findKey( const char * fieldName )
{
    for(int i = 0; i < this->length; i++ ) {
        if( strcmp( this->fields[i], fieldName )== 0 ) {
            return i;
        }
    }
    return -1;
}
int raConfig :: findKey ( const char * fieldName ) { for ( int i = 0 ; i < this -> length ; i ++ ) { if ( strcmp ( this -> fields [ i ] , fieldName ) == 0 ) { return i ; } } return -1 ; }
Vraci klic v poli nebo -1
Vraci klic v poli nebo - 1