コード例 #1
0
ファイル: canonLine.hpp プロジェクト: aewallin/cutsim
 ///returns the canon line number
 int getLineNum() {return tok2i(0);} 
コード例 #2
0
ファイル: canonLine.cpp プロジェクト: jCandlish/cutsim
///returns the number after N on the line, -1 if none
int canonLine::getN() {
  if ( (cantok(1).compare("N.....") == 0)) 
    return -1;
  else
    return tok2i(1,1);
}