コード例 #1
0
int main (void)
{
	FILE *file = fopen ("testfile", "r");

	do {
		printnlines (20, file);
	} while ( more_to_read (file) && user_continue () );

	return 0;
}
コード例 #2
0
bool m_dispatch::all_done_ex(bool no_abort)
{ bool res=all_done(no_abort);
  if (last_error&&!user_continue()) throw MakeStringException(1, last_error);
  return res;
}