OpenCores
URL https://opencores.org/ocsvn/sqmusic/sqmusic/trunk

Subversion Repositories sqmusic

[/] [sqmusic/] [trunk/] [1942/] [pwm2log.cc] - Diff between revs 5 and 6

Show entire file | Details | Blame | View Log

Rev 5 Rev 6
Line 52... Line 52...
    cin.getline( buf, sizeof(buf) );
    cin.getline( buf, sizeof(buf) );
  // conversion
  // conversion
  try {
  try {
    long int sample=0;
    long int sample=0;
    // skip first line
    // skip first line
 
                buf[0]=0;
 
                while( strncmp("1942 START",buf, 11 ) && !cin.eof() && !cin.fail() )
    cin.getline( buf, sizeof(buf) );
    cin.getline( buf, sizeof(buf) );
 
 
    cin.getline( buf, sizeof(buf) );
    cin.getline( buf, sizeof(buf) );
    while( buf[0] && !cin.eof() ) {
    while( buf[0] && !cin.eof() ) {
      double pwm[6];
      double pwm[6];

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.