All pastes #15574 Raw Edit

Untitled

public text v1 · immutable
#15574 ·published 2005-06-22 18:46 UTC
rendered paste body
    const char * _filename;

// load properties from XML configuration file
    CF::Properties _props;
    _props.length(1);
    _props[0].id = CORBA::string_dup( "FILENAME" );
    query( _props );
    if(_props[0].value >>= _filename) {

        cout << "Loading " << _filename  << " onto the FPGA.." << endl;
    } else {
        printf("nope\n");
        }