/* This file is part of * ====================================================== * * LyX, The Document Processor * Copyright (C) 1995 Matthias Ettrich * Copyright (C) 1995-1998 The LyX Team. * * This file is Copyright (C) 1996-1998 * Lars Gullik Bjønnes * * ======================================================
*/
void DepTable::read(LString const &f)
{
FilePtr fp(f, FilePtr::read); if (fp()) { // file opened char nome[256]; unsignedlong one = 0; unsignedlong two = 0; // scan the file line by line // return true if the two numbers on the lin eis different int ret = 0; while (!feof(fp())) {
ret = fscanf(fp(), "%s %lu %lu",
nome, &one, &two); if (ret !=3) continue; //lyxerr.debug("redep(" + int(ret) + ": " + // nome + ", " + int(one) + // " " + int(two));
insert(LString(nome), one, two);
}
}
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.